diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-15 15:10:41 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-15 15:18:28 -0400 |
| commit | cf46ac7dc952abf1ee67c3f938a4bd6b6c5973d5 (patch) | |
| tree | 79e682d44cbfc7131f8587ca5d4b0ef37b4f97c8 /Source/Core/DolphinWX/Debugger/CodeView.cpp | |
| parent | d5d5580424d92c56f8f3d964e1437c744737c67d (diff) | |
Core: Kill off Host_ShowJitResults
Another host function that can be killed off by simple wx event handling
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeView.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/CodeView.cpp | 7 |
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: |
