diff --git a/source/screen.c b/source/screen.c index 14d21ab..0f79db2 100644 --- a/source/screen.c +++ b/source/screen.c @@ -47,11 +47,7 @@ static const u32 brightness[4] = {0x5F, 0x4C, 0x39, 0x26}; void __attribute__((naked)) arm11Stub(void) { - //Wait for the entry to be set - while(*arm11Entry == ARM11_STUB_ADDRESS); - - //Jump to it - ((void (*)())*arm11Entry)(); + WAIT_FOR_ARM9(); } static void invokeArm11Function(void (*func)()) @@ -296,4 +292,4 @@ void initScreens(void) clearScreens(false); swapFramebuffers(false); -} \ No newline at end of file +}