Fix issue that prevented the user from being able to open the Wii save folder

for a game.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5003 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-02-03 15:13:13 +00:00
parent a319a77be4
commit 8281564b5c

View file

@ -231,7 +231,10 @@ const std::string GameListItem::GetWiiFSPath() const
if (!File::Exists(Path))
File::CreateFullPath(Path);
ret = std::string(Path);
if (Path[0] == '.')
ret = std::string(wxGetCwd().mb_str()) + std::string(Path).substr(strlen(ROOT_DIR));
else
ret = std::string(Path);
}
delete Iso;
}