From f03e232b90ed3e2e8545c5abb4c489ca4f1e0b7d Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sun, 15 Jan 2017 22:23:20 +0100 Subject: [PATCH] Update screen.c --- source/screen.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 +}