summaryrefslogtreecommitdiff
path: root/home/video.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-19 14:49:43 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-19 14:49:43 -0500
commit0c6338836d714f464bfcaa0c8c5b8c76e6f4958d (patch)
tree99c26ca80f95266c633427e30ba7e856ec500c92 /home/video.asm
parent52993d20efd5315c9d3e2e684a84456783717fc8 (diff)
Resolve #471 (although link code still needs more cleanup, like its WRAM labels)
Diffstat (limited to 'home/video.asm')
-rw-r--r--home/video.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/video.asm b/home/video.asm
index ae4d6031e..2f06effa0 100644
--- a/home/video.asm
+++ b/home/video.asm
@@ -20,10 +20,10 @@ DMATransfer:: ; 15d8
UpdateBGMapBuffer:: ; 15e3
-; Copy [hFFDC] 16x8 tiles from BGMapBuffer
+; Copy [hBGMapTileCount] 16x8 tiles from BGMapBuffer
; to bg map addresses in BGMapBufferPtrs.
-; [hFFDC] must be even since this is done in pairs.
+; [hBGMapTileCount] must be even since this is done in pairs.
; Return carry on success.
@@ -76,10 +76,10 @@ rept 2
endr
; We've done 2 16x8 blocks
- ld a, [hFFDC]
+ ld a, [hBGMapTileCount]
dec a
dec a
- ld [hFFDC], a
+ ld [hBGMapTileCount], a
jr nz, .next