diff options
Diffstat (limited to 'home/video.asm')
-rw-r--r-- | home/video.asm | 8 |
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 |