summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-09-01 12:44:02 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-09-01 12:44:02 +0000
commit478ed4b11e42347dc77bbd9e4e8603a8654b8703 (patch)
tree5c73f4e2e29c672725a26a9ae4f84b4dff896b25 /Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
parentbd227d3831c48450316d735a057a3daaa9e249d1 (diff)
GUI: Bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4137 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp')
-rw-r--r--Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
index 138761756e..850711b8f3 100644
--- a/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
+++ b/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
@@ -31,12 +31,14 @@
#include <stdlib.h>
#endif
-#include "Debugger.h"
-#include "PBView.h"
-#include "IniFile.h"
+#include "IniFile.h" // Common
#include "FileUtil.h"
#include "StringUtil.h"
#include "FileSearch.h"
+#include "LogManager.h"
+
+#include "Debugger.h"
+#include "PBView.h"
#include "../Debugger/File.h" // Write to file
//////////////////////////////
@@ -147,6 +149,12 @@ DSPDebuggerHLE::~DSPDebuggerHLE()
file.Load(DEBUGGER_CONFIG_FILE);
this->Save(file);
file.Save(DEBUGGER_CONFIG_FILE);
+
+ // Reset
+ m_DebuggerFrame = NULL;
+ // Talk
+ ConsoleListener* Console = LogManager::GetInstance()->getConsoleListener();
+ Console->Log(LogTypes::LNOTICE, StringFromFormat("Sound closed\n").c_str());
}
// ====================
@@ -241,7 +249,7 @@ void DSPDebuggerHLE::CreateGUIControls()
wxStaticBoxSizer* sLeft;
- int m_radioBoxNChoices[3];
+ int m_radioBoxNChoices[4];
// Notebook -----------------------------------------------------