summaryrefslogtreecommitdiff
path: root/predef
diff options
context:
space:
mode:
Diffstat (limited to 'predef')
-rwxr-xr-xpredef/cgb.asm4
-rwxr-xr-xpredef/sgb.asm2
2 files changed, 3 insertions, 3 deletions
diff --git a/predef/cgb.asm b/predef/cgb.asm
index e9273b7d..5935eb19 100755
--- a/predef/cgb.asm
+++ b/predef/cgb.asm
@@ -22,7 +22,7 @@ Predef_LoadSGBLayoutCGB:
ld l, a
ld de, .return
push de
- jp [hl]
+ jp hl
.return
ret
@@ -444,7 +444,7 @@ Function96b7: ; 96b7 (2:56b7)
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
.Jumptable:
dw Function96c8
diff --git a/predef/sgb.asm b/predef/sgb.asm
index 6a239600..fc5747bf 100755
--- a/predef/sgb.asm
+++ b/predef/sgb.asm
@@ -18,7 +18,7 @@ Predef_LoadSGBLayout: ; 8c2d (2:4c2d)
ld l, a
ld de, FinishSGBPredefFunction
push de
- jp [hl]
+ jp hl
.Jumptable
dw Function8c90