mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 20:35:01 +00:00
added atexit() HLE function , sceVideoOutOpen appears to get invalid parameters
This commit is contained in:
parent
1474e9d87d
commit
d8140ca016
3 changed files with 29 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue