summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-05-18 19:04:25 -0400
committerGitHub <noreply@github.com>2017-05-18 19:04:25 -0400
commit35a8771e682977ad2032703a6bd9db8a332073a8 (patch)
treef6ec8699819e98d08cbe83f6a31e1a78e52a7fdd /Source/Core/DolphinWX/Debugger/CodeWindow.cpp
parentec7c4ff92e7ef15ca8a23cf5424a99bc67918edf (diff)
parent7baabe99d178b6f096909c71cd92af0cbcce1e43 (diff)
Merge pull request #5427 from lioncash/host
Host: Get rid of Host_SetStartupDebuggingParameters()
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.cpp28
1 files changed, 1 insertions, 27 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
index 75ff5c16dc..c1e10e248e 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
@@ -481,7 +481,7 @@ void CCodeWindow::OnCPUMode(wxCommandEvent& event)
switch (event.GetId())
{
case IDM_INTERPRETER:
- PowerPC::SetMode(UseInterpreter() ? PowerPC::CoreMode::Interpreter : PowerPC::CoreMode::JIT);
+ PowerPC::SetMode(event.IsChecked() ? PowerPC::CoreMode::Interpreter : PowerPC::CoreMode::JIT);
break;
case IDM_BOOT_TO_PAUSE:
SConfig::GetInstance().bBootToPause = event.IsChecked();
@@ -561,32 +561,6 @@ void CCodeWindow::OnJitMenu(wxCommandEvent& event)
}
}
-// Shortcuts
-bool CCodeWindow::UseInterpreter()
-{
- return GetParentMenuBar()->IsChecked(IDM_INTERPRETER);
-}
-
-bool CCodeWindow::BootToPause()
-{
- return GetParentMenuBar()->IsChecked(IDM_BOOT_TO_PAUSE);
-}
-
-bool CCodeWindow::AutomaticStart()
-{
- return GetParentMenuBar()->IsChecked(IDM_AUTOMATIC_START);
-}
-
-bool CCodeWindow::JITNoBlockCache()
-{
- return GetParentMenuBar()->IsChecked(IDM_JIT_NO_BLOCK_CACHE);
-}
-
-bool CCodeWindow::JITNoBlockLinking()
-{
- return GetParentMenuBar()->IsChecked(IDM_JIT_NO_BLOCK_LINKING);
-}
-
// Update GUI
void CCodeWindow::Repopulate(bool refresh_codeview)
{