summaryrefslogtreecommitdiff
path: root/engine/oam_dma.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/oam_dma.asm')
-rw-r--r--engine/oam_dma.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/oam_dma.asm b/engine/oam_dma.asm
index 3de4d773..bd89677a 100644
--- a/engine/oam_dma.asm
+++ b/engine/oam_dma.asm
@@ -19,7 +19,8 @@ DMARoutine:
; wait for DMA to finish
ld a, $28
-.wait dec a
+.wait
+ dec a
jr nz, .wait
ret
DMARoutineEnd: