summaryrefslogtreecommitdiff
path: root/mobile/mobile_40.asm
diff options
context:
space:
mode:
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 724c2c80e..c5d37a104 100644
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -59,8 +59,8 @@ SetRAMStateForMobile:
ld bc, $65
call ByteFill
xor a
- ld hl, wMobileErrorCodeBuffer
- ld bc, $100
+ ld hl, wMobileWRAM
+ ld bc, wMobileWRAMEnd - wMobileWRAM
call ByteFill
ldh a, [rIE]
ld [wBGMapBuffer], a