Fixes detection of some wii root files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4997 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
961aad5aa6
commit
e17c872d8f
|
@ -32,8 +32,11 @@ std::string HLE_IPC_BuildFilename(const char* _pFilename, int _size)
|
||||||
|
|
||||||
std::string Filename = std::string(File::GetUserPath(D_WIIUSER_IDX));
|
std::string Filename = std::string(File::GetUserPath(D_WIIUSER_IDX));
|
||||||
if (Buffer[1] == '0')
|
if (Buffer[1] == '0')
|
||||||
Filename += std::string("/title"); // this looks and feel like a hack...
|
Filename += std::string("title/"); // this looks and feel like a hack...
|
||||||
|
|
||||||
|
if (Buffer[0] == '/')
|
||||||
|
Filename += Buffer + 1;
|
||||||
|
else
|
||||||
Filename += Buffer;
|
Filename += Buffer;
|
||||||
|
|
||||||
return Filename;
|
return Filename;
|
||||||
|
|
Loading…
Reference in New Issue