Unverified Commit 4c8b1be7 authored by Ignacio Sanchez Gines's avatar Ignacio Sanchez Gines
Browse files

Fix clear cheats with no cartridge

parent fe9798c8
......@@ -762,7 +762,8 @@ void GearsystemCore::ClearCheats()
{
m_pCartridge->ClearGameGenieCheats();
m_pProcessor->ClearProActionReplayCheats();
m_pMemory->LoadSlotsFromROM(m_pCartridge->GetROM(), m_pCartridge->GetROMSize());
if (m_pCartridge->IsReady())
m_pMemory->LoadSlotsFromROM(m_pCartridge->GetROM(), m_pCartridge->GetROMSize());
}
void GearsystemCore::SetRamModificationCallback(RamChangedCallback callback)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment