summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-06-06 16:51:43 +0200
committerGitHub <noreply@github.com>2017-06-06 16:51:43 +0200
commit591aade9361be61ff51764ad0ad23999706eb0c6 (patch)
tree3460c922ef3d82eedd4ae39f94abd0af702417b3 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
parent096399d3719769dde4004bcefec87a447fd32cf3 (diff)
parentd50b4406a66f1d9e09ad095df38fae9d57a3a729 (diff)
Merge pull request #5492 from leoetlino/boot-cleanup
Clean up the boot code
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: