summaryrefslogtreecommitdiff
path: root/mobile/mobile_40.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2019-05-05 18:14:46 +0200
committermid-kid <esteve.varela@gmail.com>2019-05-25 17:59:50 +0200
commit13cfe356d678c69aa5a5e19409408f25a38352cf (patch)
tree25e692178a2836d9d2a36f97bc94729c80d93cfb /mobile/mobile_40.asm
parent40766b9a76582c6472959e6ff99ba088b150baca (diff)
Fix usage of rIE and rSC constants
Diffstat (limited to 'mobile/mobile_40.asm')
-rw-r--r--mobile/mobile_40.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm
index c342388dd..2d01435ea 100644
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -79,7 +79,7 @@ EnableMobile:
call DoubleSpeed
xor a
ldh [rIF], a
- ld a, 1 << VBLANK | 1 << LCD_STAT | 1 << TIMER | 1 << SERIAL
+ ld a, IE_DEFAULT
ldh [rIE], a
xor a
ldh [hMapAnims], a
@@ -162,7 +162,7 @@ Function1000fa:
xor a
ldh [rIF], a
ldh a, [rIE]
- and $13
+ and $1f ^ (1 << SERIAL | 1 << TIMER)
ldh [rIE], a
xor a
ldh [hMobileReceive], a