summaryrefslogtreecommitdiff
path: root/macros/code.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-09 11:53:29 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-09 12:21:46 -0500
commite485280a8a59e43745d9261b491075e19dbef5f9 (patch)
tree40d952c4408ef2a66626f4a9f715b340e7234910 /macros/code.asm
parent6f226f584cf939015ccc3376f23c798833db4e83 (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 a5d8c7560..5b3c05eaf 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