summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-26 06:48:57 +0100
committerGitHub <noreply@github.com>2020-11-26 06:48:57 +0100
commitebcee03b0c4e02a58eeee6152950e20ab2769283 (patch)
treea65975463e513253e4340b5b54807bfd15fe0b96 /src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
parentMerge pull request #5003 from jbeich/clang (diff)
parentnvservices: Reintroducee IoctlCtrl (diff)
downloadyuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.gz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.bz2
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.lz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.xz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.zst
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
index 86ba3a4d1..ab152bf0e 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
@@ -25,8 +25,8 @@ public:
* @param output A buffer where the output data will be written to.
* @returns The result code of the ioctl.
*/
- virtual NvResult Ioctl1(Ioctl command, const std::vector<u8>& input,
- std::vector<u8>& output) = 0;
+ virtual NvResult Ioctl1(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) = 0;
/**
* Handles an ioctl2 request.
@@ -37,7 +37,8 @@ public:
* @returns The result code of the ioctl.
*/
virtual NvResult Ioctl2(Ioctl command, const std::vector<u8>& input,
- const std::vector<u8>& inline_input, std::vector<u8>& output) = 0;
+ const std::vector<u8>& inline_input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) = 0;
/**
* Handles an ioctl3 request.
@@ -48,7 +49,7 @@ public:
* @returns The result code of the ioctl.
*/
virtual NvResult Ioctl3(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
- std::vector<u8>& inline_output) = 0;
+ std::vector<u8>& inline_output, IoctlCtrl& ctrl) = 0;
protected:
class BufferMap final {