Improve performance of applying cheats; Set correct interval for applying cheats (#5305)

This commit is contained in:
Ben
2020-06-20 20:20:31 +02:00
committed by GitHub
parent 902cc1eb49
commit cb44e4408d
2 changed files with 24 additions and 15 deletions

View File

@ -15,7 +15,9 @@
namespace Cheats {
constexpr u64 run_interval_ticks = GPU::frame_ticks;
// Luma3DS uses this interval for applying cheats, so to keep consistent behavior
// we use the same value
constexpr u64 run_interval_ticks = 50'000'000;
CheatEngine::CheatEngine(Core::System& system_) : system(system_) {
LoadCheatFile();