mirror of
https://github.com/zeldaret/oot
synced 2026-07-10 23:12:08 -04:00
Fix ichaindis.py always outputting an unsigned value (#435)
This commit is contained in:
@@ -92,6 +92,8 @@ def main():
|
||||
t = (entry >> 27) & 0xF
|
||||
offset = ((entry) >> 16) & 0x7FF
|
||||
value = (entry) & 0xFFFF
|
||||
if value >= 0x8000 and not ICHAIN_MACROS[t].startswith('ICHAIN_U'):
|
||||
value -= 0x10000
|
||||
|
||||
var_name = '{0:X}'.format(offset)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user