From c1f7b0ddc9b6db6c535ce4bf542bfb0b7016a194 Mon Sep 17 00:00:00 2001 From: Fiora Date: Thu, 14 Aug 2014 08:37:33 -0700 Subject: [PATCH] Debugger: make "PPC to x86" open JIT window The button just silently did nothing if the window wasn't open, with no hint as to how to make it work. --- Source/Core/DolphinWX/Main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index 10dede9891..7cd478492c 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -555,8 +555,12 @@ void Host_UpdateDisasmDialog() void Host_ShowJitResults(unsigned int address) { - if (main_frame->g_pCodeWindow && main_frame->g_pCodeWindow->m_JitWindow) + if (main_frame->g_pCodeWindow) + { + if (!main_frame->g_pCodeWindow->m_JitWindow) + main_frame->g_pCodeWindow->ToggleJitWindow(true); main_frame->g_pCodeWindow->m_JitWindow->ViewAddr(address); + } } void Host_UpdateMainFrame()