From 61ecd9a61781e66005459917b511dc089041fc28 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Tue, 24 Jan 2017 09:22:31 +0100 Subject: [PATCH] Update screen.c --- source/screen.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/screen.c b/source/screen.c index 0f79db2..fabf59b 100644 --- a/source/screen.c +++ b/source/screen.c @@ -47,6 +47,9 @@ static const u32 brightness[4] = {0x5F, 0x4C, 0x39, 0x26}; void __attribute__((naked)) arm11Stub(void) { + //Disable interrupts + __asm(".word 0xF10C01C0"); + WAIT_FOR_ARM9(); }