summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-06-05 13:55:54 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-06-06 16:40:00 +0200
commitd50b4406a66f1d9e09ad095df38fae9d57a3a729 (patch)
tree3460c922ef3d82eedd4ae39f94abd0af702417b3 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
parent9a3fb858f31e159ab76bee4cb8944489997a44fa (diff)
Boot: Restore symbol map loading
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
index ffca4d0273..2452e85b38 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
@@ -173,8 +173,9 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
if (!Core::IsRunning())
return;
- std::string existing_map_file, writable_map_file, title_id_str;
- bool map_exists = CBoot::FindMapFile(&existing_map_file, &writable_map_file, &title_id_str);
+ const std::string& title_id_str = SConfig::GetInstance().m_debugger_game_id;
+ std::string existing_map_file, writable_map_file;
+ bool map_exists = CBoot::FindMapFile(&existing_map_file, &writable_map_file);
switch (event.GetId())
{
case IDM_CLEAR_SYMBOLS: