diff options
author | Chloe Marcec <dmarcecguzman@gmail.com> | 2020-11-08 09:11:34 +0100 |
---|---|---|
committer | Chloe Marcec <dmarcecguzman@gmail.com> | 2020-11-10 05:57:35 +0100 |
commit | 31c12de0fecec5889020191ca6de0b7fbf8c51ba (patch) | |
tree | 530f9569b0e145f83b6e876886698403a73b02f7 /src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | |
parent | Merge pull request #4909 from lioncash/interrupt (diff) | |
download | yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.gz yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.bz2 yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.lz yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.xz yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.zst yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp index 3f7b8e670..ce615c758 100644 --- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp +++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp @@ -18,11 +18,22 @@ nvdisp_disp0::nvdisp_disp0(Core::System& system, std::shared_ptr<nvmap> nvmap_de : nvdevice(system), nvmap_dev(std::move(nvmap_dev)) {} nvdisp_disp0 ::~nvdisp_disp0() = default; -u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, const std::vector<u8>& input2, - std::vector<u8>& output, std::vector<u8>& output2, IoctlCtrl& ctrl, - IoctlVersion version) { - UNIMPLEMENTED_MSG("Unimplemented ioctl"); - return 0; +NvResult nvdisp_disp0::Ioctl1(Ioctl command, const std::vector<u8>& input, + std::vector<u8>& output) { + UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw); + return NvResult::NotImplemented; +} + +NvResult nvdisp_disp0::Ioctl2(Ioctl command, const std::vector<u8>& input, + const std::vector<u8>& inline_input, std::vector<u8>& output) { + UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw); + return NvResult::NotImplemented; +} + +NvResult nvdisp_disp0::Ioctl3(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output, + std::vector<u8>& inline_output) { + UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw); + return NvResult::NotImplemented; } void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, u32 format, u32 width, u32 height, |