summaryrefslogtreecommitdiff
path: root/engine/debug.asm
diff options
context:
space:
mode:
authorBen10do <Ben10do@users.noreply.github.com>2017-06-09 22:01:10 +0100
committerBen10do <Ben10do@users.noreply.github.com>2017-06-09 22:01:10 +0100
commite6ea1889fbce20b0dc170310ac63891a1cca2bb5 (patch)
tree436ae844ff5b28f9680d2ac13657c0e9be3af690 /engine/debug.asm
parentfb154f5a6e43a86801fd16f392633c854d099ac4 (diff)
Replace ‘jp [hl]’ with ‘jp hl’
The former is arguably misleading (as you don’t access the memory location in hl to retrieve the jump location), and is consequently deprecated in newer versions of rgbds. This fix silences these deprecation warnings.
Diffstat (limited to 'engine/debug.asm')
-rwxr-xr-xengine/debug.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/debug.asm b/engine/debug.asm
index 78fc52489..9c2bb35c2 100755
--- a/engine/debug.asm
+++ b/engine/debug.asm
@@ -305,7 +305,7 @@ Function81a74: ; 81a74
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
.asm_81a9a
call Function81eca
@@ -611,7 +611,7 @@ Function81cc2: ; 81cc2
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
.asm_81cdf
ld a, $4
@@ -1353,7 +1353,7 @@ Function822f0: ; 822f0
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
; 82301
.dw ; 82301