dmnt: add theoretical 'else' support to cheat engine vm conditionals
This commit is contained in:
@@ -142,7 +142,9 @@ namespace ams::dmnt::cheat::impl {
|
||||
VmInt value;
|
||||
};
|
||||
|
||||
struct EndConditionalOpcode {};
|
||||
struct EndConditionalOpcode {
|
||||
bool is_else;
|
||||
};
|
||||
|
||||
struct ControlLoopOpcode {
|
||||
bool start_loop;
|
||||
@@ -286,7 +288,7 @@ namespace ams::dmnt::cheat::impl {
|
||||
size_t loop_tops[NumRegisters] = {0};
|
||||
private:
|
||||
bool DecodeNextOpcode(CheatVmOpcode *out);
|
||||
void SkipConditionalBlock();
|
||||
void SkipConditionalBlock(bool is_if);
|
||||
void ResetState();
|
||||
|
||||
/* For implementing the DebugLog opcode. */
|
||||
|
||||
Reference in New Issue
Block a user