mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-12-06 12:43:35 +01:00
WFSSRV: Fix Memset parameters being swapped
This commit is contained in:
1 parent
c241bf33a3
commit
162cba1fcd
1 file changed
+1
-1
@@ -167,7 +167,7 @@ std::optional<IPCReply> WFSSRVDevice::IOCtl(const IOCtlRequest& request)
|
||||
NormalizePath(memory.GetString(request.buffer_in + 2, memory.Read_U16(request.buffer_in)));
|
||||
const std::string native_path = WFS::NativePath(path);
|
||||
|
||||
memory.Memset(0, request.buffer_out, request.buffer_out_size);
|
||||
memory.Memset(request.buffer_out, 0, request.buffer_out_size);
|
||||
if (!File::Exists(native_path))
|
||||
{
|
||||
INFO_LOG_FMT(IOS_WFS, "IOCTL_WFS_GET_ATTRIBUTES({}): no such file or directory", path);
|
||||
|
||||
Reference in new issue
Block a user