we can reach atexit() function as well

This commit is contained in:
georgemoralis 2023-07-20 12:41:41 +03:00
parent d641f7b6c4
commit 98e9d970a3
1 changed files with 6 additions and 5 deletions

View File

@ -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)