build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2113 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7bb2aee235
commit
0a81e741c5
|
@ -65,26 +65,19 @@ PLUGIN_GLOBALS* globals;
|
||||||
CDebugger* m_frame;
|
CDebugger* m_frame;
|
||||||
void DllDebugger(HWND _hParent, bool Show)
|
void DllDebugger(HWND _hParent, bool Show)
|
||||||
{
|
{
|
||||||
if(m_frame && Show) // if we have created it, let us show it again
|
if(!m_frame && Show)
|
||||||
{
|
{
|
||||||
m_frame->DoShow();
|
|
||||||
}
|
|
||||||
else if(!m_frame && Show)
|
|
||||||
{
|
|
||||||
m_frame = new CDebugger(NULL);
|
m_frame = new CDebugger(NULL);
|
||||||
m_frame->Show();
|
m_frame->Show();
|
||||||
}
|
}
|
||||||
else if(m_frame && !Show)
|
else if (m_frame && !Show)
|
||||||
{
|
{
|
||||||
m_frame->DoHide();
|
if(m_frame->Close())
|
||||||
|
m_frame = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoDllDebugger()
|
void DoDllDebugger(){}
|
||||||
{
|
|
||||||
//m_frame = new CDebugger(NULL);
|
|
||||||
//m_frame->Show();
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
void DllDebugger(HWND _hParent, bool Show) { }
|
void DllDebugger(HWND _hParent, bool Show) { }
|
||||||
void DoDllDebugger() { }
|
void DoDllDebugger() { }
|
||||||
|
|
Loading…
Reference in New Issue