fix waitframe opcodes

This commit is contained in:
xensik 2022-08-26 00:19:22 +02:00
parent 094bc0e815
commit 4c410238e9
17 changed files with 21 additions and 21 deletions

View File

@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
OP_GetFarFunction = 0x60,
OP_less = 0x61,
OP_GetGameRef = 0x62,
OP_waitFrame = 0x63,
OP_waittillFrameEnd = 0x64,
OP_waittillFrameEnd = 0x63,
OP_waitFrame = 0x64,
OP_SafeSetVariableFieldCached0 = 0x65,
OP_SafeSetVariableFieldCached = 0x66,
OP_ScriptMethodChildThreadCallPointer = 0x67,

View File

@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
OP_GetFarFunction = 0x60,
OP_less = 0x61,
OP_GetGameRef = 0x62,
OP_waitFrame = 0x63,
OP_waittillFrameEnd = 0x64,
OP_waittillFrameEnd = 0x63,
OP_waitFrame = 0x64,
OP_SafeSetVariableFieldCached0 = 0x65,
OP_SafeSetVariableFieldCached = 0x66,
OP_ScriptMethodChildThreadCallPointer = 0x67,

View File

@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
OP_GetFarFunction = 0x60,
OP_less = 0x61,
OP_GetGameRef = 0x62,
OP_waitFrame = 0x63,
OP_waittillFrameEnd = 0x64,
OP_waittillFrameEnd = 0x63,
OP_waitFrame = 0x64,
OP_SafeSetVariableFieldCached0 = 0x65,
OP_SafeSetVariableFieldCached = 0x66,
OP_ScriptMethodChildThreadCallPointer = 0x67,

View File

@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
case opcode::OP_EvalLocalArrayRefCached0:
case opcode::OP_less:
case opcode::OP_GetGameRef:
case opcode::OP_waitFrame:
case opcode::OP_waittillFrameEnd:
case opcode::OP_waitFrame:
case opcode::OP_SafeSetVariableFieldCached0:
case opcode::OP_GetLevel:
case opcode::OP_notify:

View File

@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
OP_GetFarFunction = 0x60,
OP_less = 0x61,
OP_GetGameRef = 0x62,
OP_waitFrame = 0x63,
OP_waittillFrameEnd = 0x64,
OP_waittillFrameEnd = 0x63,
OP_waitFrame = 0x64,
OP_SafeSetVariableFieldCached0 = 0x65,
OP_SafeSetVariableFieldCached = 0x66,
OP_ScriptMethodChildThreadCallPointer = 0x67,

View File

@ -1026,7 +1026,7 @@ auto stmt_waittillframeend::print() const -> std::string
auto stmt_waitframe::print() const -> std::string
{
return "waitframe;";
return "waitframe();";
};
auto stmt_if::print() const -> std::string