mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user