summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2008-11-14 11:47:17 +0000
committerJohn Peterson <jpeterson57@gmail.com>2008-11-14 11:47:17 +0000
commit2976f3f1e3171c19193fbadea6192c40f6dfa9d4 (patch)
treeaa498316e966fb1ac47fac2a40c353f489eeafd7 /Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
parent09e168beac4f2c96eceff46336e2b2327152d984 (diff)
Fixed Wii AX sound, for real this time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1169 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.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
index e560f9d883..de5b9b161b 100644
--- a/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
+++ b/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Debugger.cpp
@@ -138,13 +138,6 @@ CDebugger::CDebugger(wxWindow *parent, wxWindowID id, const wxString &title,
//wxEVT_RIGHT_DOWN, wxEVT_MOUSEWHEEL, wxEVT_LEFT_UP,
//m_bl95, m_PageBlock, sBlock
- /*
- for (int i = 0; i < 127; ++i)
- {
- m_bl0->AppendText(wxString::Format("%02i|68 : 01a70144\n", i));
- m_bl95->AppendText(wxString::Format("%i Mouse\n", i));
- }*/
-
m_bl95->Connect(wxID_ANY, wxEVT_SCROLLWIN_THUMBTRACK,
wxScrollWinEventHandler(CDebugger::ScrollBlocksCursor), (wxObject*)NULL, this);
m_bl95->Connect(wxID_ANY, wxEVT_SCROLLWIN_THUMBRELEASE,
@@ -729,7 +722,8 @@ void CDebugger::ChangeMail(wxCommandEvent& event)
void CDebugger::ReadDir()
{
CFileSearch::XStringVector Directories;
- Directories.push_back("Logs/Mail");
+ //Directories.push_back("Logs/Mail");
+ Directories.push_back(FULL_MAIL_LOGS_DIR);
CFileSearch::XStringVector Extensions;
Extensions.push_back("*.log");
@@ -857,7 +851,7 @@ std::string CDebugger::Readfile_(std::string FileName)
// Read file
void CDebugger::Readfile(std::string FileName, bool GC)
{
- int n = CountFiles(FileName);
+ int n = CountFiles(FileName); // count how many mails we have
int curr_n = 0;
std::ifstream file;
for (int i = 0; i < m_RadioBox[3]->GetCount(); i++)
@@ -897,12 +891,13 @@ void CDebugger::Readfile(std::string FileName, bool GC)
// =======================================================================================
-// Only allow one selected game at a time
+// Read the file to the text window
// ---------------
void CDebugger::OnGameChange(wxCommandEvent& event)
{
if(event.GetId() == 2006)
{
+ // Only allow one selected game at a time
for (int i = 0; i < m_gc->GetCount(); ++i)
if(i != event.GetInt()) m_gc->Check(i, false);
for (int i = 0; i < m_wii->GetCount(); ++i)