summaryrefslogtreecommitdiff
path: root/engine/gfx/sgb_layouts.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx/sgb_layouts.asm')
-rw-r--r--engine/gfx/sgb_layouts.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/gfx/sgb_layouts.asm b/engine/gfx/sgb_layouts.asm
index 7097fd7..ac98865 100644
--- a/engine/gfx/sgb_layouts.asm
+++ b/engine/gfx/sgb_layouts.asm
@@ -4,7 +4,7 @@ SECTION "engine/gfx/sgb_layouts.asm", ROMX
LoadSGBLayout:
ld a, b
- cp $ff
+ cp SGB_RAM
jr nz, .not_ram
ld a, [wccd0]
.not_ram
@@ -894,4 +894,3 @@ SGBDelayCycles:
INCLUDE "data/sgb/blk_packets.inc"
INCLUDE "data/sgb/pal_packets.inc"
INCLUDE "data/sgb/ctrl_packets.inc"
-