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
|
static void init_env() //every game/demo should probably
|
||||||
{
|
{
|
||||||
for(;;) {
|
//dummy no need atm
|
||||||
printf("life is a bitch but it did reach here\n");
|
|
||||||
}
|
|
||||||
//__debugbreak();//if we reach here it will be a great progress :D
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int __cxa_guard_acquire(u64* guard_object)
|
int __cxa_guard_acquire(u64* guard_object)
|
||||||
|
@ -39,7 +36,11 @@ namespace HLE::Libs::LibC {
|
||||||
|
|
||||||
}
|
}
|
||||||
static int atexit(void (*func)())
|
static int atexit(void (*func)())
|
||||||
{ return 0;
|
{
|
||||||
|
for (;;) {
|
||||||
|
printf("we reached here too!\n");
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void LibC_Register(SymbolsResolver* sym)
|
void LibC_Register(SymbolsResolver* sym)
|
||||||
|
|
Loading…
Reference in New Issue