mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Lots more work on making the frame aui stuff functional.
Also added a DSPCORE_STOP state. The DSP-LLE debugger window segmentation faults if it is openned when a game is not running. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5931 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -28,7 +28,6 @@ GFXConfigDialogDX *m_ConfigFrame = NULL;
|
||||
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
#include "Debugger/Debugger.h"
|
||||
GFXDebuggerDX9 *m_DebuggerFrame = NULL;
|
||||
#endif // HAVE_WX
|
||||
|
||||
#include "main.h"
|
||||
@ -97,24 +96,12 @@ wxWindow* GetParentedWxWindow(HWND Parent)
|
||||
}
|
||||
#endif
|
||||
|
||||
void DllDebugger(void *_hParent, bool Show)
|
||||
void *DllDebugger(void *_hParent, bool Show)
|
||||
{
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
if (Show)
|
||||
{
|
||||
if (!m_DebuggerFrame)
|
||||
m_DebuggerFrame = new GFXDebuggerDX9((wxWindow *)_hParent);
|
||||
m_DebuggerFrame->Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_DebuggerFrame)
|
||||
{
|
||||
m_DebuggerFrame->Close();
|
||||
m_DebuggerFrame->Destroy();
|
||||
m_DebuggerFrame = NULL;
|
||||
}
|
||||
}
|
||||
return new GFXDebuggerDX9((wxWindow *)_hParent);
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user