Fix cheat frame interval
This commit is contained in:
parent
c873b38387
commit
b0aa58ba56
1 changed files with 2 additions and 1 deletions
|
@ -11,10 +11,11 @@
|
||||||
#include "core/core.h"
|
#include "core/core.h"
|
||||||
#include "core/core_timing.h"
|
#include "core/core_timing.h"
|
||||||
#include "core/hle/kernel/process.h"
|
#include "core/hle/kernel/process.h"
|
||||||
|
#include "core/hw/gpu.h"
|
||||||
|
|
||||||
namespace Cheats {
|
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_) {
|
CheatEngine::CheatEngine(Core::System& system_) : system(system_) {
|
||||||
LoadCheatFile();
|
LoadCheatFile();
|
||||||
|
|
Loading…
Reference in a new issue