summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-01-30 21:17:09 +0100
committerGitHub <noreply@github.com>2023-01-30 21:17:09 +0100
commited4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a (patch)
tree54b6ce04e859b1dee33f4331f392c0d645f4db43 /src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
parentMerge pull request #9701 from german77/common_protocol (diff)
parenthle_ipc: Use thread_local ReadBuffer (diff)
downloadyuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.gz
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.bz2
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.lz
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.xz
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.zst
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
index 4122fc98d..5a5b2e305 100644
--- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
@@ -17,19 +17,19 @@ nvdisp_disp0::nvdisp_disp0(Core::System& system_, NvCore::Container& core)
: nvdevice{system_}, container{core}, nvmap{core.GetNvMapFile()} {}
nvdisp_disp0::~nvdisp_disp0() = default;
-NvResult nvdisp_disp0::Ioctl1(DeviceFD fd, Ioctl command, const std::vector<u8>& input,
+NvResult nvdisp_disp0::Ioctl1(DeviceFD fd, Ioctl command, std::span<const u8> input,
std::vector<u8>& output) {
UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw);
return NvResult::NotImplemented;
}
-NvResult nvdisp_disp0::Ioctl2(DeviceFD fd, Ioctl command, const std::vector<u8>& input,
- const std::vector<u8>& inline_input, std::vector<u8>& output) {
+NvResult nvdisp_disp0::Ioctl2(DeviceFD fd, Ioctl command, std::span<const u8> input,
+ std::span<const u8> inline_input, std::vector<u8>& output) {
UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw);
return NvResult::NotImplemented;
}
-NvResult nvdisp_disp0::Ioctl3(DeviceFD fd, Ioctl command, const std::vector<u8>& input,
+NvResult nvdisp_disp0::Ioctl3(DeviceFD fd, Ioctl command, std::span<const u8> input,
std::vector<u8>& output, std::vector<u8>& inline_output) {
UNIMPLEMENTED_MSG("Unimplemented ioctl={:08X}", command.raw);
return NvResult::NotImplemented;