summaryrefslogtreecommitdiff
path: root/home/init.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/init.asm')
-rw-r--r--home/init.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/init.asm b/home/init.asm
index 630cfe622..9023fada2 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -141,9 +141,9 @@ Init:: ; 17d
farcall InitCGBPals
- ld a, VBGMap1 / $100
+ ld a, HIGH(VBGMap1)
ld [hBGMapAddress + 1], a
- xor a ; VBGMap1 % $100
+ xor a ; LOW(VBGMap1)
ld [hBGMapAddress], a
farcall StartClock
@@ -201,7 +201,7 @@ ClearWRAM:: ; 25a
push af
ld [rSVBK], a
xor a
- ld hl, $d000
+ ld hl, wRAM1Start
ld bc, $1000
call ByteFill
pop af