diff options
author | libjet <libj3t@gmail.com> | 2020-02-19 02:42:34 +0000 |
---|---|---|
committer | libjet <libj3t@gmail.com> | 2020-02-19 02:42:34 +0000 |
commit | 5172056acdf4691e8d3db4563d3a1a73d7025efc (patch) | |
tree | 91a918cd62b151c993a843a388cc38ec0e51509f /home/copy2.asm | |
parent | 6cbd16985aaa5408f855454c55a073d753b38d8c (diff) |
Use labels instead of constants for HRAM
Diffstat (limited to 'home/copy2.asm')
-rw-r--r-- | home/copy2.asm | 4 |
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 |