diff options
| author | Sepalani <sepalani@hotmail.fr> | 2026-12-01 10:00:56 +0400 |
|---|---|---|
| committer | Sepalani <sepalani@hotmail.fr> | 2026-12-01 10:00:56 +0400 |
| commit | 162cba1fcd38f6477b48ebf6d313d3eac2855b0e (patch) | |
| tree | 87a3b8b23100063fcb65763677dca94e58d7d7d0 /Source | |
| parent | c241bf33a3fcb8d675e05b45fca3cf0293fe373a (diff) | |
WFSSRV: Fix Memset parameters being swapped
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/IOS/WFS/WFSSRV.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/IOS/WFS/WFSSRV.cpp b/Source/Core/Core/IOS/WFS/WFSSRV.cpp index 2e3fadc882..d46354f337 100644 --- a/Source/Core/Core/IOS/WFS/WFSSRV.cpp +++ b/Source/Core/Core/IOS/WFS/WFSSRV.cpp @@ -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); |
