summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2020-11-24 06:40:23 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2020-11-24 06:40:23 +0100
commitab25d1fe9a7e3678b868855eecd402eec2efd1d6 (patch)
tree0807e2c296751459e259026ab8dd47f095725f28 /src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
parentFix warnings in core/frontend/input.h with [[maybe_unused]] (diff)
downloadyuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.gz
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.bz2
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.lz
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.xz
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.zst
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
index d8735491c..b8328c314 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
@@ -15,8 +15,8 @@ nvhost_nvdec::nvhost_nvdec(Core::System& system, std::shared_ptr<nvmap> nvmap_de
: nvhost_nvdec_common(system, std::move(nvmap_dev)) {}
nvhost_nvdec::~nvhost_nvdec() = default;
-NvResult nvhost_nvdec::Ioctl1(Ioctl command, const std::vector<u8>& input,
- std::vector<u8>& output) {
+NvResult nvhost_nvdec::Ioctl1(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) {
switch (command.group) {
case 0x0:
switch (command.cmd) {
@@ -58,13 +58,14 @@ NvResult nvhost_nvdec::Ioctl1(Ioctl command, const std::vector<u8>& input,
}
NvResult nvhost_nvdec::Ioctl2(Ioctl command, const std::vector<u8>& input,
- const std::vector<u8>& inline_input, std::vector<u8>& output) {
+ const std::vector<u8>& inline_input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) {
UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw);
return NvResult::NotImplemented;
}
NvResult nvhost_nvdec::Ioctl3(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
- std::vector<u8>& inline_output) {
+ std::vector<u8>& inline_output, IoctlCtrl& ctrl) {
UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw);
return NvResult::NotImplemented;
}