diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-04-06 13:02:23 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-04-06 13:02:23 -0400 |
commit | 10909e6b437f6c137c794337e94f32cdc7fe9eb4 (patch) | |
tree | 22c38abe4cee26ce3f629ba509e4511398290b07 /home/farcall.asm | |
parent | 1ec60810b8226943125c656ff8f0c3f947be7aaa (diff) |
hStackBank -> hTempBank
Diffstat (limited to 'home/farcall.asm')
-rw-r--r-- | home/farcall.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/home/farcall.asm b/home/farcall.asm index 3e2d6e549..1c17fb409 100644 --- a/home/farcall.asm +++ b/home/farcall.asm @@ -2,10 +2,10 @@ FarCall_de:: ; Call a:de. ; Preserves other registers. - ldh [hStackBank], a + ldh [hTempBank], a ldh a, [hROMBank] push af - ldh a, [hStackBank] + ldh a, [hTempBank] rst Bankswitch call .de jr ReturnFarCall @@ -18,10 +18,10 @@ FarCall_hl:: ; Call a:hl. ; Preserves other registers. - ldh [hStackBank], a + ldh [hTempBank], a ldh a, [hROMBank] push af - ldh a, [hStackBank] + ldh a, [hTempBank] rst Bankswitch call FarCall_JumpToHL |