Core: Force Fpu exception in recompiler
This commit is contained in:
parent
b3e8b760e6
commit
c786bc3251
|
@ -249,7 +249,6 @@ CJniBridegSettings::CJniBridegSettings()
|
|||
// Debugger
|
||||
ADD_SETTING(Debugger_Enabled);
|
||||
ADD_SETTING(Debugger_EndOnPermLoop);
|
||||
ADD_SETTING(Debugger_FpuExceptionInRecompiler);
|
||||
ADD_SETTING(Debugger_BreakOnUnhandledMemory);
|
||||
ADD_SETTING(Debugger_BreakOnAddressError);
|
||||
ADD_SETTING(Debugger_StepOnBreakOpCode);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -23,7 +23,6 @@ uint32_t CDebugSettings::m_FpExceptionBreakpoints = 0;
|
|||
uint32_t CDebugSettings::m_IntrBreakpoints = 0;
|
||||
uint32_t CDebugSettings::m_RcpIntrBreakpoints = 0;
|
||||
bool CDebugSettings::m_EndOnPermLoop = false;
|
||||
bool CDebugSettings::m_FpuExceptionInRecompiler = false;
|
||||
bool CDebugSettings::m_BreakOnUnhandledMemory = false;
|
||||
bool CDebugSettings::m_BreakOnAddressError = false;
|
||||
bool CDebugSettings::m_StepOnBreakOpCode = false;
|
||||
|
@ -50,7 +49,6 @@ CDebugSettings::CDebugSettings()
|
|||
g_Settings->RegisterChangeCB(Debugger_IntrBreakpoints, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->RegisterChangeCB(Debugger_RcpIntrBreakpoints, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->RegisterChangeCB(Debugger_EndOnPermLoop, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->RegisterChangeCB(Debugger_FpuExceptionInRecompiler, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->RegisterChangeCB(Debugger_BreakOnUnhandledMemory, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->RegisterChangeCB(Debugger_BreakOnAddressError, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->RegisterChangeCB(Debugger_StepOnBreakOpCode, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
|
@ -79,7 +77,6 @@ CDebugSettings::~CDebugSettings()
|
|||
g_Settings->UnregisterChangeCB(Debugger_IntrBreakpoints, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->UnregisterChangeCB(Debugger_RcpIntrBreakpoints, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->UnregisterChangeCB(Debugger_EndOnPermLoop, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->UnregisterChangeCB(Debugger_FpuExceptionInRecompiler, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->UnregisterChangeCB(Debugger_BreakOnUnhandledMemory, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->UnregisterChangeCB(Debugger_BreakOnAddressError, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
g_Settings->UnregisterChangeCB(Debugger_StepOnBreakOpCode, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
|
||||
|
@ -104,7 +101,6 @@ void CDebugSettings::RefreshSettings()
|
|||
m_IntrBreakpoints = m_HaveDebugger ? g_Settings->LoadDword(Debugger_IntrBreakpoints) : 0;
|
||||
m_RcpIntrBreakpoints = m_HaveDebugger ? g_Settings->LoadDword(Debugger_RcpIntrBreakpoints) : 0;
|
||||
m_EndOnPermLoop = m_HaveDebugger && g_Settings->LoadBool(Debugger_EndOnPermLoop);
|
||||
m_FpuExceptionInRecompiler = m_HaveDebugger && g_Settings->LoadBool(Debugger_FpuExceptionInRecompiler);
|
||||
m_BreakOnUnhandledMemory = m_HaveDebugger && g_Settings->LoadBool(Debugger_BreakOnUnhandledMemory);
|
||||
m_BreakOnAddressError = m_HaveDebugger && g_Settings->LoadBool(Debugger_BreakOnAddressError);
|
||||
m_StepOnBreakOpCode = m_HaveDebugger && g_Settings->LoadBool(Debugger_StepOnBreakOpCode);
|
||||
|
|
|
@ -26,7 +26,6 @@ CMainMenu::CMainMenu(CMainGui * hMainWindow) :
|
|||
m_ChangeSettingList.push_back(Logging_GenerateLog);
|
||||
m_ChangeSettingList.push_back(Debugger_RecordExecutionTimes);
|
||||
m_ChangeSettingList.push_back(Debugger_EndOnPermLoop);
|
||||
m_ChangeSettingList.push_back(Debugger_FpuExceptionInRecompiler);
|
||||
m_ChangeSettingList.push_back(Debugger_BreakOnUnhandledMemory);
|
||||
m_ChangeSettingList.push_back(Debugger_BreakOnAddressError);
|
||||
m_ChangeSettingList.push_back(Debugger_StepOnBreakOpCode);
|
||||
|
@ -508,9 +507,6 @@ bool CMainMenu::ProcessMessage(HWND hWnd, DWORD /*FromAccelerator*/, DWORD MenuI
|
|||
case ID_DEBUG_END_ON_PERM_LOOP:
|
||||
g_Settings->SaveBool(Debugger_EndOnPermLoop, !g_Settings->LoadBool(Debugger_EndOnPermLoop));
|
||||
break;
|
||||
case ID_DEBUG_FPU_EXCEPTION_IN_RECOMPILER:
|
||||
g_Settings->SaveBool(Debugger_FpuExceptionInRecompiler, !g_Settings->LoadBool(Debugger_FpuExceptionInRecompiler));
|
||||
break;
|
||||
case ID_DEBUG_BREAK_ON_UNHANDLED_MEM:
|
||||
g_Settings->SaveBool(Debugger_BreakOnUnhandledMemory, !g_Settings->LoadBool(Debugger_BreakOnUnhandledMemory));
|
||||
break;
|
||||
|
@ -1160,12 +1156,6 @@ void CMainMenu::FillOutMenu(HMENU hMenu)
|
|||
Item.SetItemTicked(true);
|
||||
}
|
||||
DebugR4300Menu.push_back(Item);
|
||||
Item.Reset(ID_DEBUG_FPU_EXCEPTION_IN_RECOMPILER, EMPTY_STRING, EMPTY_STDSTR, nullptr, L"Fpu Exception In Recompiler");
|
||||
if (g_Settings->LoadBool(Debugger_FpuExceptionInRecompiler))
|
||||
{
|
||||
Item.SetItemTicked(true);
|
||||
}
|
||||
DebugR4300Menu.push_back(Item);
|
||||
Item.Reset(ID_DEBUG_BREAK_ON_UNHANDLED_MEM, EMPTY_STRING, EMPTY_STDSTR, nullptr, L"Break on unhandled memory actions");
|
||||
if (g_Settings->LoadBool(Debugger_BreakOnUnhandledMemory))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue