aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/oam_dma.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/gfx/oam_dma.asm b/engine/gfx/oam_dma.asm
index 11e52694..725c3dca 100644
--- a/engine/gfx/oam_dma.asm
+++ b/engine/gfx/oam_dma.asm
@@ -2,7 +2,7 @@ WriteDMACodeToHRAM::
; Since no other memory is available during OAM DMA,
; DMARoutine is copied to HRAM and executed there.
ld c, LOW(hDMARoutine)
- ld b, DMARoutineEnd - DMARoutine
+ ld b, DMARoutine.End - DMARoutine
ld hl, DMARoutine
.copy
ld a, [hli]
@@ -25,4 +25,4 @@ hDMARoutine::
jr nz, .wait
ret
ENDL
-DMARoutineEnd:
+.End: