mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
GUI: Fixed some GUI related start/stop crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4223 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
49601e0af2
commit
7e115dcb00
27 changed files with 424 additions and 190 deletions
|
@ -139,13 +139,17 @@ wxWindow* GetParentedWxWindow(HWND Parent)
|
|||
void DllDebugger(HWND _hParent, bool Show)
|
||||
{
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
if (!m_DebuggerFrame)
|
||||
m_DebuggerFrame = new DSPDebuggerHLE(GetParentedWxWindow(_hParent));
|
||||
|
||||
if (Show)
|
||||
{
|
||||
if (!m_DebuggerFrame)
|
||||
m_DebuggerFrame = new DSPDebuggerHLE(NULL);
|
||||
//m_DebuggerFrame = new DSPDebuggerHLE(GetParentedWxWindow(_hParent));
|
||||
m_DebuggerFrame->Show();
|
||||
}
|
||||
else
|
||||
m_DebuggerFrame->Hide();
|
||||
{
|
||||
if (m_DebuggerFrame) m_DebuggerFrame->Close();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -229,6 +233,7 @@ void Shutdown()
|
|||
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
// Reset mails
|
||||
/*
|
||||
if (m_DebuggerFrame)
|
||||
{
|
||||
sMailLog.clear();
|
||||
|
@ -236,8 +241,8 @@ void Shutdown()
|
|||
m_DebuggerFrame->sMail.clear();
|
||||
m_DebuggerFrame->sMailEnd.clear();
|
||||
}
|
||||
#endif
|
||||
|
||||
*/
|
||||
#endif
|
||||
}
|
||||
|
||||
void DoState(unsigned char **ptr, int mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue