WFSSRV: Fix Memset parameters being swapped

This commit is contained in:
Sepalani committed 2026-12-01 10:00:56 +04:00
1 parent c241bf33a3
commit 162cba1fcd
1 file changed
+1 -1
+1 -1
View File
@@ -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);