Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #800 from FioraAeterna/showdebugjit
Debugger: make "PPC to x86" open JIT window
  • Loading branch information
Sonicadvance1 committed Aug 14, 2014
2 parents e6fa582 + c1f7b0d commit 7f3458e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Core/DolphinWX/Main.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 7f3458e

Please sign in to comment.