summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.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/CodeWindow.cpp
parent5339c52fe017a753b536fac3f25f0d05205533c1 (diff)
parentcf46ac7dc952abf1ee67c3f938a4bd6b6c5973d5 (diff)
Merge pull request #814 from lioncash/jitwindow
Core: Kill off Host_ShowJitResults
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;
}
}