parent
620dad1204
commit
54aec6c9e8
|
@ -77,7 +77,10 @@ void __system_allocateHeaps(void)
|
|||
void __attribute__((weak)) __libctru_init(void (*retAddr)(void))
|
||||
{
|
||||
/* Store the return address */
|
||||
__system_retAddr = envIsHomebrew() ? retAddr : NULL;
|
||||
__system_retAddr = NULL;
|
||||
if (envIsHomebrew()) {
|
||||
__system_retAddr = retAddr;
|
||||
}
|
||||
|
||||
/* Initialize the synchronization subsystem */
|
||||
__sync_init();
|
||||
|
|
Loading…
Reference in New Issue