summaryrefslogtreecommitdiff
path: root/home/init.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/init.asm')
-rw-r--r--home/init.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/init.asm b/home/init.asm
index 9023fada2..41bc3960f 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -69,8 +69,8 @@ Init:: ; 17d
ld [rLCDC], a
; Clear WRAM bank 0
- ld hl, wRAM0Start
- ld bc, wRAM1Start - wRAM0Start
+ ld hl, WRAM0_Start
+ ld bc, WRAM0_End - WRAM0_Start
.ByteFill:
ld [hl], 0
inc hl
@@ -201,8 +201,8 @@ ClearWRAM:: ; 25a
push af
ld [rSVBK], a
xor a
- ld hl, wRAM1Start
- ld bc, $1000
+ ld hl, WRAM1_Start
+ ld bc, WRAM1_End - WRAM1_Start
call ByteFill
pop af
inc a