summaryrefslogtreecommitdiffstats
path: root/src/core/memory/cheat_engine.cpp
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2022-07-10 09:29:37 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2022-07-10 09:29:37 +0200
commitb23c6b456c3fd09a4dd04c4174f784f73b7513bc (patch)
treec431a3b1ee04fb4da60e08ab21d78a5813e9b528 /src/core/memory/cheat_engine.cpp
parentRework CoreTiming (diff)
downloadyuzu-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.tar
yuzu-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.tar.gz
yuzu-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.tar.bz2
yuzu-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.tar.lz
yuzu-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.tar.xz
yuzu-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.tar.zst
yuzu-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.zip
Diffstat (limited to '')
-rw-r--r--src/core/memory/cheat_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp
index 09a02d2ac..ffdbacc18 100644
--- a/src/core/memory/cheat_engine.cpp
+++ b/src/core/memory/cheat_engine.cpp
@@ -189,7 +189,7 @@ void CheatEngine::Initialize() {
FrameCallback(user_data, ns_late);
return std::nullopt;
});
- core_timing.ScheduleLoopingEvent(std::chrono::nanoseconds(0), CHEAT_ENGINE_NS, event);
+ core_timing.ScheduleLoopingEvent(CHEAT_ENGINE_NS, CHEAT_ENGINE_NS, event);
metadata.process_id = system.CurrentProcess()->GetProcessID();
metadata.title_id = system.GetCurrentProcessProgramID();