mirror of
https://github.com/CPunch/LuaDecompy.git
synced 2024-11-22 14:50:05 +00:00
'not' not '!'
This commit is contained in:
parent
a6623c8953
commit
368ff62538
@ -235,7 +235,7 @@ class LuaDecomp:
|
|||||||
elif instr.opcode == Opcodes.UNM:
|
elif instr.opcode == Opcodes.UNM:
|
||||||
self.__setReg(instr.A, "-" + self.__getReg(instr.B))
|
self.__setReg(instr.A, "-" + self.__getReg(instr.B))
|
||||||
elif instr.opcode == Opcodes.NOT:
|
elif instr.opcode == Opcodes.NOT:
|
||||||
self.__setReg(instr.A, "!" + self.__getReg(instr.B))
|
self.__setReg(instr.A, "not " + self.__getReg(instr.B))
|
||||||
elif instr.opcode == Opcodes.LEN:
|
elif instr.opcode == Opcodes.LEN:
|
||||||
self.__setReg(instr.A, "#" + self.__getCurrInstr(instr.B))
|
self.__setReg(instr.A, "#" + self.__getCurrInstr(instr.B))
|
||||||
elif instr.opcode == Opcodes.CONCAT:
|
elif instr.opcode == Opcodes.CONCAT:
|
||||||
|
Loading…
Reference in New Issue
Block a user