diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-02-02 21:53:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 21:53:28 +0100 |
commit | b01698775b468a04e4d0a9bdd86035ff00e6decb (patch) | |
tree | 88f1784fe7833392caeaf713a7a616772f446b18 /src/core/hle/service/nvdrv/nvdrv.h | |
parent | Merge pull request #9708 from ameerj/gl-context-flush (diff) | |
download | yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.gz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.bz2 yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.lz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.xz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.zst yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.h')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.h b/src/core/hle/service/nvdrv/nvdrv.h index b09b6e585..f3c81bd88 100644 --- a/src/core/hle/service/nvdrv/nvdrv.h +++ b/src/core/hle/service/nvdrv/nvdrv.h @@ -7,7 +7,6 @@ #include <functional> #include <list> #include <memory> -#include <span> #include <string> #include <unordered_map> #include <vector> @@ -80,13 +79,14 @@ public: DeviceFD Open(const std::string& device_name); /// Sends an ioctl command to the specified file descriptor. - NvResult Ioctl1(DeviceFD fd, Ioctl command, std::span<const u8> input, std::vector<u8>& output); + NvResult Ioctl1(DeviceFD fd, Ioctl command, const std::vector<u8>& input, + std::vector<u8>& output); - NvResult Ioctl2(DeviceFD fd, Ioctl command, std::span<const u8> input, - std::span<const u8> inline_input, std::vector<u8>& output); + NvResult Ioctl2(DeviceFD fd, Ioctl command, const std::vector<u8>& input, + const std::vector<u8>& inline_input, std::vector<u8>& output); - NvResult Ioctl3(DeviceFD fd, Ioctl command, std::span<const u8> input, std::vector<u8>& output, - std::vector<u8>& inline_output); + NvResult Ioctl3(DeviceFD fd, Ioctl command, const std::vector<u8>& input, + std::vector<u8>& output, std::vector<u8>& inline_output); /// Closes a device file descriptor and returns operation success. NvResult Close(DeviceFD fd); |