From 1abb082eef8847641d72bf805b163410bbadfdab Mon Sep 17 00:00:00 2001 From: Emmet Young Date: Mon, 1 Apr 2013 13:25:51 +1100 Subject: [PATCH] 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. --- Source/Project64/N64 System/N64 Class.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/Project64/N64 System/N64 Class.cpp b/Source/Project64/N64 System/N64 Class.cpp index 3e0d65e04..43ad8ff90 100644 --- a/Source/Project64/N64 System/N64 Class.cpp +++ b/Source/Project64/N64 System/N64 Class.cpp @@ -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");