From b0aa58ba56946a930f9c572fd4d3151a06882a7a Mon Sep 17 00:00:00 2001 From: xperia64 Date: Thu, 11 Jun 2020 23:29:12 -0400 Subject: [PATCH] Fix cheat frame interval --- src/core/cheats/cheats.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/cheats/cheats.cpp b/src/core/cheats/cheats.cpp index 9053b5ca6..75192f584 100644 --- a/src/core/cheats/cheats.cpp +++ b/src/core/cheats/cheats.cpp @@ -11,10 +11,11 @@ #include "core/core.h" #include "core/core_timing.h" #include "core/hle/kernel/process.h" +#include "core/hw/gpu.h" namespace Cheats { -constexpr u64 run_interval_ticks = BASE_CLOCK_RATE_ARM11 / 60; +constexpr u64 run_interval_ticks = GPU::frame_ticks; CheatEngine::CheatEngine(Core::System& system_) : system(system_) { LoadCheatFile();