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.
This commit is contained in:
parent
e0b0b7eaf5
commit
c1f7b0ddc9
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue