HLE_IPC_BuildFilename was actually ignoring the size argument. Fixes "/tmp/sys" error.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6564 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ad82dd59b9
commit
8e38b1a8a7
|
@ -64,7 +64,7 @@ static void ReadReplacements()
|
||||||
std::string HLE_IPC_BuildFilename(const char* _pFilename, int _size)
|
std::string HLE_IPC_BuildFilename(const char* _pFilename, int _size)
|
||||||
{
|
{
|
||||||
std::string path_full = std::string(File::GetUserPath(D_WIIROOT_IDX));
|
std::string path_full = std::string(File::GetUserPath(D_WIIROOT_IDX));
|
||||||
std::string path_wii(_pFilename, _size);
|
std::string path_wii(_pFilename);
|
||||||
|
|
||||||
if (path_wii[1] == '0')
|
if (path_wii[1] == '0')
|
||||||
path_full += std::string("/title"); // this looks and feel like a hack...
|
path_full += std::string("/title"); // this looks and feel like a hack...
|
||||||
|
|
Loading…
Reference in New Issue