build fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2113 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-02-04 17:48:40 +00:00
parent 7bb2aee235
commit 0a81e741c5
1 changed files with 5 additions and 12 deletions

View File

@ -65,26 +65,19 @@ PLUGIN_GLOBALS* globals;
CDebugger* m_frame;
void DllDebugger(HWND _hParent, bool Show)
{
if(m_frame && Show) // if we have created it, let us show it again
{
m_frame->DoShow();
}
else if(!m_frame && Show)
if(!m_frame && Show)
{
m_frame = new CDebugger(NULL);
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()
{
//m_frame = new CDebugger(NULL);
//m_frame->Show();
}
void DoDllDebugger(){}
#else
void DllDebugger(HWND _hParent, bool Show) { }
void DoDllDebugger() { }