From c1f091e4bc735dfa1c71c04c921b97e5e012fd16 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 25 Aug 2009 09:13:17 +0000 Subject: GUI: Fixed some wxPostEvent endless loops git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4060 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/Src/CodeWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp') 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); -- cgit v1.2.3