summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeView.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-15 15:26:45 -0400
committerLioncash <mathew1800@gmail.com>2014-08-15 15:26:45 -0400
commit4c406cc4a1ad874cbece2f411b6fad4000a914a0 (patch)
tree126079abb0807bc83d3cbfed6a288c9275b09f2c /Source/Core/DolphinWX/Debugger/CodeView.cpp
parent5339c52fe017a753b536fac3f25f0d05205533c1 (diff)
parentcf46ac7dc952abf1ee67c3f938a4bd6b6c5973d5 (diff)
Merge pull request #814 from lioncash/jitwindow
Core: Kill off Host_ShowJitResults
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeView.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeView.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Debugger/CodeView.cpp
index 182451beac..0c74b3dbd9 100644
--- a/Source/Core/DolphinWX/Debugger/CodeView.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeView.cpp
@@ -309,7 +309,12 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
break;
case IDM_JITRESULTS:
- m_debugger->ShowJitResults(m_selection);
+ {
+ // Propagate back to the parent window and tell it
+ // to flip to the JIT tab for the current address.
+ wxCommandEvent jit_event(wxEVT_HOST_COMMAND, IDM_UPDATEJITPANE);
+ GetEventHandler()->AddPendingEvent(jit_event);
+ }
break;
case IDM_FOLLOWBRANCH: