mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 14:58:03 +03:00
IPC_HLE: Fix incorrect file path for IOCTL_SET_ATTR
We were reading the string from the wrong location…
This commit is contained in:
parent
7192789c11
commit
10c7e56689
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ s32 CWII_IPC_HLE_Device_fs::ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _B
|
||||||
Addr += 4;
|
Addr += 4;
|
||||||
u16 GroupID = Memory::Read_U16(Addr);
|
u16 GroupID = Memory::Read_U16(Addr);
|
||||||
Addr += 2;
|
Addr += 2;
|
||||||
const std::string wii_path = Memory::GetString(_BufferIn, 64);
|
const std::string wii_path = Memory::GetString(Addr, 64);
|
||||||
if (!IsValidWiiPath(wii_path))
|
if (!IsValidWiiPath(wii_path))
|
||||||
{
|
{
|
||||||
WARN_LOG(WII_IPC_FILEIO, "Not a valid path: %s", wii_path.c_str());
|
WARN_LOG(WII_IPC_FILEIO, "Not a valid path: %s", wii_path.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue