mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-28 10:36:06 +00:00
we can reach atexit() function as well
This commit is contained in:
parent
d641f7b6c4
commit
98e9d970a3
|
@ -8,10 +8,7 @@ namespace HLE::Libs::LibC {
|
|||
|
||||
static void init_env() //every game/demo should probably
|
||||
{
|
||||
for(;;) {
|
||||
printf("life is a bitch but it did reach here\n");
|
||||
}
|
||||
//__debugbreak();//if we reach here it will be a great progress :D
|
||||
//dummy no need atm
|
||||
}
|
||||
|
||||
int __cxa_guard_acquire(u64* guard_object)
|
||||
|
@ -39,7 +36,11 @@ namespace HLE::Libs::LibC {
|
|||
|
||||
}
|
||||
static int atexit(void (*func)())
|
||||
{ return 0;
|
||||
{
|
||||
for (;;) {
|
||||
printf("we reached here too!\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void LibC_Register(SymbolsResolver* sym)
|
||||
|
|
Loading…
Reference in a new issue