Skip to content

Commit

Permalink
Merge pull request #4500 from leoetlino/fileio-fix
Browse files Browse the repository at this point in the history
IPC_HLE: Fix incorrect file path for IOCTL_SET_ATTR
  • Loading branch information
lioncash committed Dec 9, 2016
2 parents 7a5bb46 + 10c7e56 commit a0920af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.cpp
Expand Up @@ -344,7 +344,7 @@ s32 CWII_IPC_HLE_Device_fs::ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _B
Addr += 4;
u16 GroupID = Memory::Read_U16(Addr);
Addr += 2;
const std::string wii_path = Memory::GetString(_BufferIn, 64);
const std::string wii_path = Memory::GetString(Addr, 64);
if (!IsValidWiiPath(wii_path))
{
WARN_LOG(WII_IPC_FILEIO, "Not a valid path: %s", wii_path.c_str());
Expand Down

0 comments on commit a0920af

Please sign in to comment.