summaryrefslogtreecommitdiffstats
path: root/src/core/memory/dmnt_cheat_vm.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-09 17:47:34 +0100
committerGitHub <noreply@github.com>2024-02-09 17:47:34 +0100
commita133eadf0679ba55615d13cf2dfc3df5b1ea6f4b (patch)
tree661c419d5705c3f7f023fe4a5310a9e6d112047b /src/core/memory/dmnt_cheat_vm.cpp
parentMerge pull request #12968 from t895/thermal-status (diff)
parentdmnt: cheat: Add pause and resume support (diff)
downloadyuzu-a133eadf0679ba55615d13cf2dfc3df5b1ea6f4b.tar
yuzu-a133eadf0679ba55615d13cf2dfc3df5b1ea6f4b.tar.gz
yuzu-a133eadf0679ba55615d13cf2dfc3df5b1ea6f4b.tar.bz2
yuzu-a133eadf0679ba55615d13cf2dfc3df5b1ea6f4b.tar.lz
yuzu-a133eadf0679ba55615d13cf2dfc3df5b1ea6f4b.tar.xz
yuzu-a133eadf0679ba55615d13cf2dfc3df5b1ea6f4b.tar.zst
yuzu-a133eadf0679ba55615d13cf2dfc3df5b1ea6f4b.zip
Diffstat (limited to 'src/core/memory/dmnt_cheat_vm.cpp')
-rw-r--r--src/core/memory/dmnt_cheat_vm.cpp4
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 8bc81e72d..f7097d01d 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;