summaryrefslogtreecommitdiff
path: root/home/gfx.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/gfx.asm')
-rw-r--r--home/gfx.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/gfx.asm b/home/gfx.asm
index 897a43ef..a1a2dee2 100644
--- a/home/gfx.asm
+++ b/home/gfx.asm
@@ -61,10 +61,10 @@ DecompressRequest2bpp::
FarCopyBytes::
; copy bc bytes from a:hl to de
- ld [wBuffer], a
+ ld [wTempBank], a
ldh a, [hROMBank]
push af
- ld a, [wBuffer]
+ ld a, [wTempBank]
rst Bankswitch
call CopyBytes
@@ -77,10 +77,10 @@ FarCopyBytesDouble::
; Copy bc bytes from a:hl to bc*2 bytes at de,
; doubling each byte in the process.
- ld [wBuffer], a
+ ld [wTempBank], a
ldh a, [hROMBank]
push af
- ld a, [wBuffer]
+ ld a, [wTempBank]
rst Bankswitch
; switcheroo, de <> hl