summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-15 15:10:41 -0400
committerLioncash <mathew1800@gmail.com>2014-08-15 15:18:28 -0400
commitcf46ac7dc952abf1ee67c3f938a4bd6b6c5973d5 (patch)
tree79e682d44cbfc7131f8587ca5d4b0ef37b4f97c8 /Source/Core/DolphinWX/Debugger/CodeWindow.cpp
parentd5d5580424d92c56f8f3d964e1437c744737c67d (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/CodeWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.cpp8
1 files changed, 8 insertions, 0 deletions
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;
}
}