diff options
author | bunnei <bunneidev@gmail.com> | 2020-11-26 06:48:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 06:48:57 +0100 |
commit | ebcee03b0c4e02a58eeee6152950e20ab2769283 (patch) | |
tree | a65975463e513253e4340b5b54807bfd15fe0b96 /src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp | |
parent | Merge pull request #5003 from jbeich/clang (diff) | |
parent | nvservices: Reintroducee IoctlCtrl (diff) | |
download | yuzu-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_nvjpg.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp index 2d06955c0..6f4ab0ab3 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp @@ -13,8 +13,8 @@ namespace Service::Nvidia::Devices { nvhost_nvjpg::nvhost_nvjpg(Core::System& system) : nvdevice(system) {} nvhost_nvjpg::~nvhost_nvjpg() = default; -NvResult nvhost_nvjpg::Ioctl1(Ioctl command, const std::vector<u8>& input, - std::vector<u8>& output) { +NvResult nvhost_nvjpg::Ioctl1(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output, + IoctlCtrl& ctrl) { switch (command.group) { case 'H': switch (command.cmd) { @@ -33,13 +33,14 @@ NvResult nvhost_nvjpg::Ioctl1(Ioctl command, const std::vector<u8>& input, } NvResult nvhost_nvjpg::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_nvjpg::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; } |