mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-07-19 00:31:22 -05:00
clear both IME registers (DSi)
This commit is contained in:
parent
7fb45ebd2d
commit
6c1a47754e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user