summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio_nd@outlook.com>2017-06-09 22:54:09 +0100
committerAntonio Niño Díaz <antonio_nd@outlook.com>2017-06-09 22:54:09 +0100
commit9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd (patch)
tree838b94841af8efe22697c15775f99035d42fd734 /home.asm
parentdfc094db727d094e50e2a7bfb7fc1ae22cb1084b (diff)
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>
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home.asm b/home.asm
index 0a2d829d..27c977ca 100644
--- a/home.asm
+++ b/home.asm
@@ -2966,7 +2966,7 @@ Bankswitch::
ld [MBC1RomBank],a
ld bc,.Return
push bc
- jp [hl]
+ jp hl
.Return
pop bc
ld a,b
@@ -4422,7 +4422,7 @@ CallFunctionInTable::
ld l, a
ld de, .returnAddress
push de
- jp [hl]
+ jp hl
.returnAddress
pop bc
pop de
@@ -4605,7 +4605,7 @@ CheckForHiddenObjectOrBookshelfOrCardKeyDoor::
ld [H_LOADEDROMBANK], a
ld de, .returnAddress
push de
- jp [hl]
+ jp hl
.returnAddress
xor a
jr .done