You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Copy sram.asm's global start/end constants for wram.asm and vram.asm
This commit is contained in:
@@ -1008,8 +1008,8 @@ PushSGBBorder:
|
||||
ret
|
||||
|
||||
SGB_ClearVRAM:
|
||||
ld hl, VTiles0
|
||||
ld bc, VRAM_End - VTiles0
|
||||
ld hl, VRAM_Begin
|
||||
ld bc, VRAM_End - VRAM_Begin
|
||||
xor a
|
||||
call ByteFill
|
||||
ret
|
||||
|
||||
@@ -111,8 +111,8 @@ _ResetWRAM: ; 5bae
|
||||
xor a
|
||||
call ByteFill
|
||||
|
||||
ld hl, wRAM1Start
|
||||
ld bc, wGameData - wRAM1Start
|
||||
ld hl, WRAM1_Start
|
||||
ld bc, wGameData - WRAM1_Start
|
||||
xor a
|
||||
call ByteFill
|
||||
|
||||
|
||||
Reference in New Issue
Block a user