update dsp hle and ogl plugins for the new console window.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2709 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-03-20 23:45:25 +00:00
parent 7df9aaa3e3
commit 323676a66b
5 changed files with 19 additions and 51 deletions

View File

@ -42,7 +42,7 @@ CDebugger::CDebugger(wxWindow *parent, wxWindowID id, const wxString &title,
CreateGUIControls();
LoadSettings();
DoShowHideConsole();
DoShowConsole();
}
CDebugger::~CDebugger()
@ -56,21 +56,15 @@ void CDebugger::OnClose(wxCloseEvent& event)
SaveSettings();
event.Skip(); // This means wxDialog's Destroy is used
// CloseConsole(); // The console goes with the wx window
}
void CDebugger::DoShowHideConsole()
void CDebugger::DoShowConsole()
{
/* if(m_Check[1]->IsChecked()
#ifdef _WIN32
// Check to see if we already have a console
// && Console::GetHwnd() == NULL
#endif
)
OpenConsole();
ConsoleListener* console = LogManager::GetInstance()->getConsoleListener();
if(m_Check[1]->IsChecked() && console->IsOpen())
console->Open();
else
CloseConsole();
*/
console->Close();
}
void CDebugger::SaveSettings() const
@ -166,7 +160,7 @@ void CDebugger::GeneralSettings(wxCommandEvent& event)
switch (event.GetId())
{
case ID_SHOWCONSOLE:
DoShowHideConsole();
DoShowConsole();
break;
case ID_INFOLOG:
bInfoLog = event.IsChecked();