mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Fix many bugs with the Symbols menu (when run with -d argument).
The Symbols menu is now fully useable.
This commit is contained in:
@ -67,7 +67,8 @@ void CBoot::UpdateDebugger_MapLoaded()
|
||||
}
|
||||
|
||||
bool CBoot::FindMapFile(std::string* existing_map_file,
|
||||
std::string* writable_map_file)
|
||||
std::string* writable_map_file,
|
||||
std::string* title_id)
|
||||
{
|
||||
std::string title_id_str;
|
||||
size_t name_begin_index;
|
||||
@ -109,6 +110,9 @@ bool CBoot::FindMapFile(std::string* existing_map_file,
|
||||
if (writable_map_file)
|
||||
*writable_map_file = File::GetUserPath(D_MAPS_IDX) + title_id_str + ".map";
|
||||
|
||||
if (title_id)
|
||||
*title_id = title_id_str;
|
||||
|
||||
bool found = false;
|
||||
static const std::string maps_directories[] = {
|
||||
File::GetUserPath(D_MAPS_IDX),
|
||||
|
@ -36,9 +36,12 @@ public:
|
||||
// If writable_map_file is not nullptr, it is set to the path to where a map
|
||||
// file should be saved.
|
||||
//
|
||||
// If title_id is not nullptr, it is set to the title id
|
||||
//
|
||||
// Returns true if a map file exists, false if none could be found.
|
||||
static bool FindMapFile(std::string* existing_map_file,
|
||||
std::string* writable_map_file);
|
||||
std::string* writable_map_file,
|
||||
std::string* title_id = nullptr);
|
||||
|
||||
private:
|
||||
static void RunFunction(u32 _iAddr);
|
||||
|
Reference in New Issue
Block a user