summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindow.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-08-25 09:13:17 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-08-25 09:13:17 +0000
commitc1f091e4bc735dfa1c71c04c921b97e5e012fd16 (patch)
treeb2da962c2f8b289a56df4a49a273f98f34a8fb18 /Source/Core/DebuggerWX/Src/CodeWindow.cpp
parentcc323e4849feaa8e74f12925f4beb492137f3d27 (diff)
GUI: Fixed some wxPostEvent endless loops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4060 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
index 393fa99f9c..e912e1afff 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
@@ -101,6 +101,9 @@ BEGIN_EVENT_TABLE(CCodeWindow, wxPanel)
// Menu bar
EVT_MENU(IDM_INTERPRETER, CCodeWindow::OnCPUMode) // CPU Mode
EVT_MENU(IDM_AUTOMATICSTART, CCodeWindow::OnCPUMode)
+ EVT_MENU(IDM_BOOTTOPAUSE, CCodeWindow::OnCPUMode)
+
+ EVT_MENU(IDM_JITUNLIMITED, CCodeWindow::OnCPUMode)
EVT_MENU(IDM_JITOFF, CCodeWindow::OnCPUMode)
EVT_MENU(IDM_JITLSOFF, CCodeWindow::OnCPUMode)
EVT_MENU(IDM_JITLSLXZOFF, CCodeWindow::OnCPUMode)
@@ -711,7 +714,6 @@ void CCodeWindow::OnCodeStep(wxCommandEvent& event)
case IDM_DEBUG_GO:
{
// [F|RES] prolly we should disable the other buttons in go mode too ...
-
if (CCPU::IsStepping())
{
CCPU::EnableStepping(false);