diff options
author | Liam <byteslice@airmail.cc> | 2023-10-25 06:34:40 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-10-25 19:05:56 +0200 |
commit | 723df0f3685f01ce5a0330d567932136a9de7a8f (patch) | |
tree | 5b26229e14b70dba5d59d9265b750e5edff874b5 /src/core/hle/service/nvdrv/devices/nvmap.cpp | |
parent | nvdrv: fix up remaining copy calls (diff) | |
download | yuzu-723df0f3685f01ce5a0330d567932136a9de7a8f.tar yuzu-723df0f3685f01ce5a0330d567932136a9de7a8f.tar.gz yuzu-723df0f3685f01ce5a0330d567932136a9de7a8f.tar.bz2 yuzu-723df0f3685f01ce5a0330d567932136a9de7a8f.tar.lz yuzu-723df0f3685f01ce5a0330d567932136a9de7a8f.tar.xz yuzu-723df0f3685f01ce5a0330d567932136a9de7a8f.tar.zst yuzu-723df0f3685f01ce5a0330d567932136a9de7a8f.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvmap.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvmap.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp index 94286e295..71b2e62ec 100644 --- a/src/core/hle/service/nvdrv/devices/nvmap.cpp +++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp @@ -32,17 +32,17 @@ NvResult nvmap::Ioctl1(DeviceFD fd, Ioctl command, std::span<const u8> input, case 0x1: switch (command.cmd) { case 0x1: - return Wrap1(&nvmap::IocCreate, input, output); + return WrapFixed(this, &nvmap::IocCreate, input, output); case 0x3: - return Wrap1(&nvmap::IocFromId, input, output); + return WrapFixed(this, &nvmap::IocFromId, input, output); case 0x4: - return Wrap1(&nvmap::IocAlloc, input, output); + return WrapFixed(this, &nvmap::IocAlloc, input, output); case 0x5: - return Wrap1(&nvmap::IocFree, input, output); + return WrapFixed(this, &nvmap::IocFree, input, output); case 0x9: - return Wrap1(&nvmap::IocParam, input, output); + return WrapFixed(this, &nvmap::IocParam, input, output); case 0xe: - return Wrap1(&nvmap::IocGetId, input, output); + return WrapFixed(this, &nvmap::IocGetId, input, output); default: break; } |