diff options
author | Ben10do <Ben10do@users.noreply.github.com> | 2017-06-09 22:01:10 +0100 |
---|---|---|
committer | Ben10do <Ben10do@users.noreply.github.com> | 2017-06-09 22:01:10 +0100 |
commit | e6ea1889fbce20b0dc170310ac63891a1cca2bb5 (patch) | |
tree | 436ae844ff5b28f9680d2ac13657c0e9be3af690 /engine/options_menu.asm | |
parent | fb154f5a6e43a86801fd16f392633c854d099ac4 (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/options_menu.asm')
-rwxr-xr-x | engine/options_menu.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/options_menu.asm b/engine/options_menu.asm index 68c1883ee..ec41288ff 100755 --- a/engine/options_menu.asm +++ b/engine/options_menu.asm @@ -90,7 +90,7 @@ GetOptionPointer: ; e42d6 ld a, [hli] ld h, [hl] ld l, a - jp [hl] ; jump to the code of the current highlighted item + jp hl ; jump to the code of the current highlighted item ; e42e5 .Pointers: |