summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-02-17 10:52:03 -0800
committerYamaArashi <shadow962@live.com>2017-02-17 10:52:03 -0800
commita60e850a861f686b7eccdd6bc942d9ad8d713429 (patch)
tree4b114ca9b75040eea58c6f7483cd7053301f44bd /asm
parentafd45e9dd4f6ee922b60a48cf2bb6d8ee44b1783 (diff)
make VBlankIntr() match
Diffstat (limited to 'asm')
-rw-r--r--asm/libagbsyscall.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/asm/libagbsyscall.s b/asm/libagbsyscall.s
index 6161eb2df..d5639f689 100644
--- a/asm/libagbsyscall.s
+++ b/asm/libagbsyscall.s
@@ -1,3 +1,4 @@
+ .include "constants/gba_constants.inc"
.include "asm/macros.inc"
.syntax unified
@@ -87,10 +88,10 @@ RegisterRamReset: @ 82E70A8
thumb_func_start SoftReset
@ void SoftReset()
SoftReset: @ 82E70AC
- ldr r3, =0x04000208
+ ldr r3, =REG_IME
movs r2, 0
strb r2, [r3]
- ldr r1, =gUnknown_03007F00
+ ldr r1, =0x3007F00
mov sp, r1
swi 0x1
swi 0