diff options
| author | John Peterson <jpeterson57@gmail.com> | 2009-09-03 07:59:24 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2009-09-03 07:59:24 +0000 |
| commit | 486798c580106914b2613683d6d967cb501f1294 (patch) | |
| tree | 899857a157db3fadfd7b798b2b602193a13e8f36 /Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | |
| parent | c82c0b0b93f99d82e9d17ff828f15f85b4ba16cf (diff) | |
GUI: Fixed boot settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4180 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp index 2bf51e4c4c..990e2f4062 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp @@ -230,6 +230,8 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event) void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event) { + Parent->ClearStatusBar(); + if (Core::GetState() == Core::CORE_UNINITIALIZED) { // TODO: disable menu items instead :P @@ -265,8 +267,12 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event) SignatureDB db; if (db.Load((File::GetSysDirectory() + TOTALDB).c_str())) db.Apply(&g_symbolDB); - } else { + Parent->StatusBarMessage("'%s' not found, scanning for common functions instead", mapfile.c_str()); + } + else + { g_symbolDB.LoadMap(mapfile.c_str()); + Parent->StatusBarMessage("Loaded symbols from '%s'", mapfile.c_str()); } HLE::PatchFunctions(); NotifyMapLoaded(); |
