summaryrefslogtreecommitdiff
path: root/home/copy2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/copy2.asm')
-rw-r--r--home/copy2.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/copy2.asm b/home/copy2.asm
index 3ba05db9..e319cd6b 100644
--- a/home/copy2.asm
+++ b/home/copy2.asm
@@ -15,7 +15,7 @@ CopyBytes:: ; 311a (0:311a)
GetFarByte:: ; 3128 (0:3128)
ld [wBuffer], a
- ld a, [hROMBank]
+ ldh a, [hROMBank]
push af
ld a, [wBuffer]
rst Bankswitch
@@ -28,7 +28,7 @@ GetFarByte:: ; 3128 (0:3128)
GetFarHalfword:: ; 313c (0:313c)
ld [wBuffer], a
- ld a, [hROMBank]
+ ldh a, [hROMBank]
push af
ld a, [wBuffer]
rst Bankswitch