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.
This commit is contained in:
Ben10do
2017-06-09 22:01:10 +01:00
parent fb154f5a6e
commit e6ea1889fb
56 changed files with 112 additions and 112 deletions

View File

@@ -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