Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
This commit is contained in:
@@ -28,9 +28,9 @@ ReturnFarCall::
|
||||
; We want to retain the contents of f.
|
||||
; To do this, we can pop to bc instead of af.
|
||||
ld a, b
|
||||
ld [wFarCallBCBuffer], a
|
||||
ld [wFarCallBC], a
|
||||
ld a, c
|
||||
ld [wFarCallBCBuffer + 1], a
|
||||
ld [wFarCallBC + 1], a
|
||||
|
||||
; Restore the working bank.
|
||||
pop bc
|
||||
@@ -38,9 +38,9 @@ ReturnFarCall::
|
||||
rst Bankswitch
|
||||
|
||||
; Restore the contents of bc.
|
||||
ld a, [wFarCallBCBuffer]
|
||||
ld a, [wFarCallBC]
|
||||
ld b, a
|
||||
ld a, [wFarCallBCBuffer + 1]
|
||||
ld a, [wFarCallBC + 1]
|
||||
ld c, a
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user