mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -555,8 +555,12 @@ void Host_UpdateDisasmDialog()
|
|||||||
|
|
||||||
void Host_ShowJitResults(unsigned int address)
|
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);
|
main_frame->g_pCodeWindow->m_JitWindow->ViewAddr(address);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Host_UpdateMainFrame()
|
void Host_UpdateMainFrame()
|
||||||
|
Reference in New Issue
Block a user