mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
fix some dir issue on osx, if there is a problem on windows or linux, see this : GetSysDirectory in FileUtil.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3173 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -162,7 +162,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
|
||||
{
|
||||
PPCAnalyst::FindFunctions(0x81300000, 0x81800000, &g_symbolDB);
|
||||
SignatureDB db;
|
||||
if (db.Load(TOTALDB_FILE))
|
||||
if (db.Load((File::GetSysDirectory() + TOTALDB).c_str()))
|
||||
db.Apply(&g_symbolDB);
|
||||
|
||||
// HLE::PatchFunctions();
|
||||
@ -175,7 +175,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
|
||||
g_symbolDB.Clear();
|
||||
PPCAnalyst::FindFunctions(0x81300000, 0x81800000, &g_symbolDB);
|
||||
SignatureDB db;
|
||||
if (db.Load(TOTALDB_FILE))
|
||||
if (db.Load((File::GetSysDirectory() + TOTALDB).c_str()))
|
||||
db.Apply(&g_symbolDB);
|
||||
} else {
|
||||
g_symbolDB.LoadMap(mapfile.c_str());
|
||||
|
Reference in New Issue
Block a user