mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Replace deprecated mnemonics by the correct ones
The old mnemonics generate warnings with new versions of rgbds. This patch replaces them by the correct ones. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
parent
dfc094db72
commit
9ea25bc8cd
17 changed files with 30 additions and 30 deletions
|
|
@ -123,7 +123,7 @@ AutoBgMapTransfer::
|
|||
ld a,[H_AUTOBGTRANSFERENABLED]
|
||||
and a
|
||||
ret z
|
||||
ld hl,[sp + 0]
|
||||
ld hl,sp + 0
|
||||
ld a,h
|
||||
ld [H_SPTEMP],a
|
||||
ld a,l
|
||||
|
|
@ -205,7 +205,7 @@ VBlankCopyBgMap::
|
|||
ld a,[H_VBCOPYBGSRC] ; doubles as enabling byte
|
||||
and a
|
||||
ret z
|
||||
ld hl,[sp + 0]
|
||||
ld hl,sp + 0
|
||||
ld a,h
|
||||
ld [H_SPTEMP],a
|
||||
ld a,l
|
||||
|
|
@ -238,7 +238,7 @@ VBlankCopyDouble::
|
|||
and a
|
||||
ret z
|
||||
|
||||
ld hl, [sp + 0]
|
||||
ld hl, sp + 0
|
||||
ld a, h
|
||||
ld [H_SPTEMP], a
|
||||
ld a, l
|
||||
|
|
@ -290,7 +290,7 @@ VBlankCopyDouble::
|
|||
ld a, h
|
||||
ld [H_VBCOPYDOUBLEDEST + 1], a
|
||||
|
||||
ld hl, [sp + 0]
|
||||
ld hl, sp + 0
|
||||
ld a, l
|
||||
ld [H_VBCOPYDOUBLESRC], a
|
||||
ld a, h
|
||||
|
|
@ -316,7 +316,7 @@ VBlankCopy::
|
|||
and a
|
||||
ret z
|
||||
|
||||
ld hl, [sp + 0]
|
||||
ld hl, sp + 0
|
||||
ld a, h
|
||||
ld [H_SPTEMP], a
|
||||
ld a, l
|
||||
|
|
@ -360,7 +360,7 @@ VBlankCopy::
|
|||
ld a, h
|
||||
ld [H_VBCOPYDEST + 1], a
|
||||
|
||||
ld hl, [sp + 0]
|
||||
ld hl, sp + 0
|
||||
ld a, l
|
||||
ld [H_VBCOPYSRC], a
|
||||
ld a, h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue