mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Port Enable Cheats to the new config system
This commit is contained in:
@ -8,7 +8,9 @@
|
||||
#include <map>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/Config/Config.h"
|
||||
|
||||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/GeckoCode.h"
|
||||
#include "Core/HLE/HLE_Misc.h"
|
||||
@ -85,7 +87,7 @@ void PatchFixedFunctions()
|
||||
|
||||
// HLE jump to loader (homebrew). Disabled when Gecko is active as it interferes with the code
|
||||
// handler
|
||||
if (!SConfig::GetInstance().bEnableCheats)
|
||||
if (!Config::Get(Config::MAIN_ENABLE_CHEATS))
|
||||
{
|
||||
Patch(0x80001800, "HBReload");
|
||||
Memory::CopyToEmu(0x00001804, "STUBHAXX", 8);
|
||||
|
Reference in New Issue
Block a user