From cf46ac7dc952abf1ee67c3f938a4bd6b6c5973d5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 15 Aug 2014 15:10:41 -0400 Subject: Core: Kill off Host_ShowJitResults Another host function that can be killed off by simple wx event handling --- Source/Core/DolphinWX/Debugger/CodeWindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.cpp') diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp index fd0c296eb7..ffddd52902 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp @@ -49,6 +49,7 @@ #include "DolphinWX/Debugger/CodeView.h" #include "DolphinWX/Debugger/CodeWindow.h" #include "DolphinWX/Debugger/DebuggerUIUtil.h" +#include "DolphinWX/Debugger/JitWindow.h" #include "DolphinWX/Debugger/RegisterWindow.h" extern "C" // Bitmaps @@ -156,6 +157,13 @@ void CCodeWindow::OnHostMessage(wxCommandEvent& event) Update(); if (m_BreakpointWindow) m_BreakpointWindow->NotifyUpdate(); break; + + case IDM_UPDATEJITPANE: + // Check if the JIT pane is in the AUI notebook. If not, add it and switch to it. + if (!m_JitWindow) + ToggleJitWindow(true); + m_JitWindow->ViewAddr(codeview->GetSelection()); + break; } } -- cgit v1.2.3