summaryrefslogtreecommitdiff
path: root/home/init.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 /home/init.asm
parent40766b9a76582c6472959e6ff99ba088b150baca (diff)
Fix usage of rIE and rSC constants
Diffstat (limited to 'home/init.asm')
-rw-r--r--home/init.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/init.asm b/home/init.asm
index 676b5460a..b8c4d90a9 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -6,7 +6,7 @@ Reset::
call ClearPalettes
xor a
ldh [rIF], a
- ld a, 1 ; VBlank int
+ ld a, 1 << VBLANK
ldh [rIE], a
ei
@@ -154,7 +154,7 @@ Init::
xor a
ldh [rIF], a
- ld a, %1111 ; VBlank, LCDStat, Timer, Serial interrupts
+ ld a, IE_DEFAULT
ldh [rIE], a
ei