mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 17:49:48 -06:00
Revert "Don't add segfault handler in interpreter mode"
This commit is contained in:
@ -32,7 +32,6 @@
|
||||
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/CoreParameter.h"
|
||||
#include "Core/Movie.h"
|
||||
#include "Core/NetPlayProto.h"
|
||||
#include "Core/HW/EXI.h"
|
||||
@ -58,17 +57,17 @@
|
||||
|
||||
struct CPUCore
|
||||
{
|
||||
CPUBackend CPUid;
|
||||
int CPUid;
|
||||
const char *name;
|
||||
};
|
||||
const CPUCore CPUCores[] = {
|
||||
{CPU_INTERPRETER, wxTRANSLATE("Interpreter (VERY slow)")},
|
||||
{0, wxTRANSLATE("Interpreter (VERY slow)")},
|
||||
#ifdef _M_ARM
|
||||
{CPU_JIT_ARM, wxTRANSLATE("Arm JIT (experimental)")},
|
||||
{CPU_JIT_IL_ARM, wxTRANSLATE("Arm JITIL (experimental)")},
|
||||
{3, wxTRANSLATE("Arm JIT (experimental)")},
|
||||
{4, wxTRANSLATE("Arm JITIL (experimental)")},
|
||||
#else
|
||||
{CPU_JIT_X64, wxTRANSLATE("JIT Recompiler (recommended)")},
|
||||
{CPU_JIT_IL_X64, wxTRANSLATE("JITIL Recompiler (slower, experimental)")},
|
||||
{1, wxTRANSLATE("JIT Recompiler (recommended)")},
|
||||
{2, wxTRANSLATE("JITIL Recompiler (slower, experimental)")},
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -908,7 +907,7 @@ void CConfigMain::CoreSettingsChanged(wxCommandEvent& event)
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore = CPUCores[CPUEngine->GetSelection()].CPUid;
|
||||
if (main_frame->g_pCodeWindow)
|
||||
main_frame->g_pCodeWindow->GetMenuBar()->Check(IDM_INTERPRETER,
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore == CPU_INTERPRETER);
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore?false:true);
|
||||
break;
|
||||
case ID_NTSCJ:
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bForceNTSCJ = _NTSCJ->IsChecked();
|
||||
|
@ -369,7 +369,7 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParam
|
||||
" and stepping to work as explained in the Developer Documentation. But it can be very"
|
||||
" slow, perhaps slower than 1 fps."),
|
||||
wxITEM_CHECK);
|
||||
interpreter->Check(_LocalCoreStartupParameter.iCPUCore == CPU_INTERPRETER);
|
||||
interpreter->Check(_LocalCoreStartupParameter.iCPUCore == 0);
|
||||
pCoreMenu->AppendSeparator();
|
||||
|
||||
pCoreMenu->Append(IDM_JITBLOCKLINKING, _("&JIT Block Linking off"),
|
||||
|
@ -370,7 +370,7 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_Run(JNIEnv *
|
||||
|
||||
// No use running the loop when booting fails
|
||||
if ( BootManager::BootCore( g_filename.c_str() ) )
|
||||
while (PowerPC::GetState() != PowerPC::STATE_POWERDOWN)
|
||||
while (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
|
||||
updateMainFrameEvent.Wait();
|
||||
|
||||
WiimoteReal::Shutdown();
|
||||
|
@ -380,7 +380,7 @@ int main(int argc, char* argv[])
|
||||
[event release];
|
||||
[pool release];
|
||||
#else
|
||||
while (PowerPC::GetState() != PowerPC::STATE_POWERDOWN)
|
||||
while (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
|
||||
updateMainFrameEvent.Wait();
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user