Fix a segmentation fault when the wiimote source is changed to a real wiimote in the config dialog.

A little clean up of the debugger code.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7237 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-02-25 03:56:14 +00:00
parent 18b85b9cd5
commit 1f33fc1a48
6 changed files with 8 additions and 32 deletions

View File

@ -557,7 +557,8 @@ void Host_UpdateDisasmDialog()
void Host_ShowJitResults(unsigned int address)
{
CJitWindow::ViewAddr(address);
if (main_frame->g_pCodeWindow && main_frame->g_pCodeWindow->m_JitWindow)
main_frame->g_pCodeWindow->m_JitWindow->ViewAddr(address);
}
void Host_UpdateMainFrame()