Update screen.c

This commit is contained in:
TuxSH 2017-01-15 22:23:20 +01:00 committed by GitHub
parent 1eb18c1790
commit f03e232b90

View File

@ -47,11 +47,7 @@ static const u32 brightness[4] = {0x5F, 0x4C, 0x39, 0x26};
void __attribute__((naked)) arm11Stub(void) void __attribute__((naked)) arm11Stub(void)
{ {
//Wait for the entry to be set WAIT_FOR_ARM9();
while(*arm11Entry == ARM11_STUB_ADDRESS);
//Jump to it
((void (*)())*arm11Entry)();
} }
static void invokeArm11Function(void (*func)()) static void invokeArm11Function(void (*func)())