maybe things wouldn't be weird if you initialized your fucking variables, Arisotura

This commit is contained in:
Arisotura 2024-05-24 20:46:45 +02:00
parent 03d5c2516c
commit 28e4d39363
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ EmuInstance::EmuInstance(int inst) : instanceID(inst),
localCfg(Config::GetLocalTable(inst)) localCfg(Config::GetLocalTable(inst))
{ {
cheatFile = nullptr; cheatFile = nullptr;
cheatsOn = localCfg.GetBool("EnableCheats");
doLimitFPS = globalCfg.GetBool("LimitFPS"); doLimitFPS = globalCfg.GetBool("LimitFPS");
maxFPS = globalCfg.GetInt("MaxFPS"); maxFPS = globalCfg.GetInt("MaxFPS");