diff options
Diffstat (limited to 'home/video.asm')
-rw-r--r-- | home/video.asm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/video.asm b/home/video.asm index 5354e7b6..dcf7b47c 100644 --- a/home/video.asm +++ b/home/video.asm @@ -10,8 +10,8 @@ UpdateBGMapBuffer:: and a ret z +; Relocate the stack pointer to wBGMapBufferPtrs ld [hSPBuffer], sp - ld hl, wBGMapBufferPtrs ld sp, hl @@ -59,6 +59,7 @@ endr jr nz, .next +; Restore the stack pointer ldh a, [hSPBuffer] ld l, a ldh a, [hSPBuffer + 1] |