diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2021-06-20 12:23:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 12:23:43 -0400 |
commit | 5524f730e498462c39d18e685da47872f987b23c (patch) | |
tree | 1a6d9f19639342ea08c3af5f881e2f9f21c048e5 | |
parent | 2734e4411c9f1fec63abe662ac5b1b0eef8d8ccd (diff) |
Use SGB_RAM constant
-rw-r--r-- | engine/gfx/sgb_layouts.asm | 3 |
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" - |