summaryrefslogtreecommitdiff
path: root/macros/code.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-09 12:33:59 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-09 12:33:59 -0500
commite5ba485eacb1cf72844cdd5b61f9aa2213a265d1 (patch)
treec8b0d7b2cecf16ad166b09db657ea88f80762510 /macros/code.asm
parent348c5caea719db66cacfee3e0432808b8d4368c9 (diff)
Require rgbds 0.4.2
This allows [\1] to work when \1 is hl, bc, or de The object file format has changed along with the version number
Diffstat (limited to 'macros/code.asm')
-rw-r--r--macros/code.asm4
1 files changed, 0 insertions, 4 deletions
diff --git a/macros/code.asm b/macros/code.asm
index a5d8c756..5b3c05ea 100644
--- a/macros/code.asm
+++ b/macros/code.asm
@@ -11,11 +11,7 @@ ENDM
; Design patterns
jumptable: MACRO
-if !STRCMP("\2", "hl")
- ld a, [hl]
-else
ld a, [\2]
-endc
ld e, a
ld d, 0
ld hl, \1