Merge pull request #800 from FioraAeterna/showdebugjit

Debugger: make "PPC to x86" open JIT window
This commit is contained in:
Ryan Houdek 2014-08-14 10:41:42 -05:00
commit 7f3458e957

View File

@ -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()