From 8e38b1a8a7b5ae66c7b2b329e0387f7f38a2f881 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 12 Dec 2010 00:38:36 +0000 Subject: [PATCH] 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 --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp index f5a1e7917c..afdd81788d 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp @@ -64,7 +64,7 @@ static void ReadReplacements() std::string HLE_IPC_BuildFilename(const char* _pFilename, int _size) { 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') path_full += std::string("/title"); // this looks and feel like a hack...