From e6ea1889fbce20b0dc170310ac63891a1cca2bb5 Mon Sep 17 00:00:00 2001 From: Ben10do Date: Fri, 9 Jun 2017 22:01:10 +0100 Subject: =?UTF-8?q?Replace=20=E2=80=98jp=20[hl]=E2=80=99=20with=20?= =?UTF-8?q?=E2=80=98jp=20hl=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- audio/engine.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/engine.asm') diff --git a/audio/engine.asm b/audio/engine.asm index 2cc921bd0..57418246b 100644 --- a/audio/engine.asm +++ b/audio/engine.asm @@ -229,7 +229,7 @@ UpdateChannels: ; e8125 ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl .ChannelFnPtrs: dw .Channel1 @@ -1389,7 +1389,7 @@ ParseMusicCommand: ; e870f ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl ; e8720 -- cgit v1.2.3