fix BIND_PADLOCK disasm

This commit is contained in:
Alex Bates 2020-10-21 04:04:41 +01:00
parent d6fdb87a56
commit 5e8f352090
No known key found for this signature in database
GPG Key ID: 5E11C2DB78877706

View File

@ -274,7 +274,7 @@ def disassemble(bytes, script_name = "script", symbol_map = {}):
elif opcode == 0x4E:
if argv[4] != 0:
raise "BIND_PADLOCK argv[4] != NULL"
if argv[5] != 0:
if argv[5] != 1:
raise "BIND_PADLOCK argv[5] != 1"
write_line(f"SI_BIND_PADLOCK({addr_ref(argv[0])}, {trigger(argv[1])}, {var(argv[2])}, {var(argv[3])}),")