diff options
| author | german77 <juangerman-13@hotmail.com> | 2024-02-05 14:19:26 -0600 |
|---|---|---|
| committer | german77 <juangerman-13@hotmail.com> | 2024-02-05 14:38:26 -0600 |
| commit | 4397b591eccd6cca262830723c0a53e6dd2c38f1 (patch) | |
| tree | c0ba889dba8bf0b3ba73098d1c4a31c6857a8902 /src/core/memory/dmnt_cheat_vm.cpp | |
| parent | 645c4b96463ff017a1165b89118379ce55baf1d0 (diff) | |
dmnt: cheat: Add pause and resume support
Diffstat (limited to 'src/core/memory/dmnt_cheat_vm.cpp')
| -rw-r--r-- | src/core/memory/dmnt_cheat_vm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/memory/dmnt_cheat_vm.cpp b/src/core/memory/dmnt_cheat_vm.cpp index 8bc81e72dd..f7097d01db 100644 --- a/src/core/memory/dmnt_cheat_vm.cpp +++ b/src/core/memory/dmnt_cheat_vm.cpp @@ -1205,9 +1205,9 @@ void DmntCheatVm::Execute(const CheatProcessMetadata& metadata) { static_registers[rw_static_reg->static_idx] = registers[rw_static_reg->idx]; } } else if (std::holds_alternative<PauseProcessOpcode>(cur_opcode.opcode)) { - // TODO: Pause cheat process + callbacks->PauseProcess(); } else if (std::holds_alternative<ResumeProcessOpcode>(cur_opcode.opcode)) { - // TODO: Resume cheat process + callbacks->ResumeProcess(); } else if (auto debug_log = std::get_if<DebugLogOpcode>(&cur_opcode.opcode)) { // Read value from memory. u64 log_value = 0; |
