If debugger isn't enabled but where still attempting to start the sync cores, reset to recompiler to stop people from accidentally launching sync cores.

This commit is contained in:
Emmet Young 2013-04-01 13:25:51 +11:00
parent 21dc19972e
commit 1abb082eef
1 changed files with 7 additions and 0 deletions

View File

@ -286,6 +286,13 @@ void CN64System::StartEmulation2 ( bool NewThread )
CInterpreterCPU::BuildCPU();
DWORD CpuType = g_Settings->LoadDword(Game_CpuType);
if(CpuType == CPU_SyncCores && !g_Settings->LoadBool(Debugger_Enabled))
{
g_Settings->SaveDword(Game_CpuType, CPU_Recompiler);
CpuType = CPU_Recompiler;
}
if (CpuType == CPU_SyncCores)
{
g_Notify->DisplayMessage(5,"Copy Plugins");