mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-11 03:45:29 -05:00
clear both IME registers (DSi)
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
_start:
|
||||
@---------------------------------------------------------------------------------
|
||||
mov r0, #0x04000000 @ IME = 0;
|
||||
str r0, [r0, #0x208]
|
||||
mov r1, #0
|
||||
str r1, [r0, #0x208]
|
||||
|
||||
mov r0, #0x12 @ Switch to IRQ Mode
|
||||
msr cpsr, r0
|
||||
|
||||
Reference in New Issue
Block a user