added atexit() HLE function , sceVideoOutOpen appears to get invalid parameters

This commit is contained in:
georgemoralis 2023-07-20 17:53:51 +03:00
parent 1474e9d87d
commit d8140ca016
3 changed files with 29 additions and 6 deletions

View file

@ -37,10 +37,12 @@ namespace HLE::Libs::LibC {
}
static int atexit(void (*func)())
{
for (;;) {
printf("we reached here too!\n");
}
return 0;
int rt = ::atexit(func);
if (rt != 0)
{
__debugbreak();
}
return rt;
}
void LibC_Register(SymbolsResolver* sym)