summaryrefslogtreecommitdiff
path: root/tools/tcgdisasm.py
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-02-07 12:21:28 -0600
committerdannye <33dannye@gmail.com>2021-02-07 12:21:28 -0600
commit794701bf871f56d06b9567ef0ea84ebb98710572 (patch)
tree501a824b4c0c0f2f280c8db5892046926adf174a /tools/tcgdisasm.py
parent3ae827ab30372596b50e39a89ad9e6e26d39b2b1 (diff)
Separate true/false checks from nonzero/zero checks
Diffstat (limited to 'tools/tcgdisasm.py')
-rw-r--r--tools/tcgdisasm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcgdisasm.py b/tools/tcgdisasm.py
index fa62f5e..95db628 100644
--- a/tools/tcgdisasm.py
+++ b/tools/tcgdisasm.py
@@ -311,7 +311,7 @@ relative_jumps = [0x18, 0x20, 0x28, 0x30, 0x38]
unconditional_jumps = [0xc3, 0x18]
# the event macros found in bank 3. They db a byte after calling so need to be treated specially
-event_macros = [(0xca8f,"set_event_value {}"),(0xcacd,"zero_event_value {}"),(0xca84,"zero_event_value2 {}"), (0xcac2,"max_event_value {}"), (0xca69,"get_event_value {}")]
+event_macros = [(0xca8f,"set_event_value {}"),(0xcacd,"set_event_false {}"),(0xca84,"set_event_zero {}"), (0xcac2,"max_event_value {}"), (0xca69,"get_event_value {}")]
def asm_label(address):
"""