Added a check for active Gecko codes before installing the Gecko code handler.
Fixes issue 5279.
This commit is contained in:
parent
41bcf657f8
commit
33e20cf76d
|
@ -253,7 +253,7 @@ bool RunActiveCodes()
|
||||||
|
|
||||||
void RunCodeHandler()
|
void RunCodeHandler()
|
||||||
{
|
{
|
||||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats)
|
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats && active_codes.size() > 1)
|
||||||
{
|
{
|
||||||
u8 *gameId = Memory::GetPointer(0x80000000);
|
u8 *gameId = Memory::GetPointer(0x80000000);
|
||||||
u8 *wiirdId = Memory::GetPointer(0x80001800);
|
u8 *wiirdId = Memory::GetPointer(0x80001800);
|
||||||
|
|
Loading…
Reference in New Issue