VERY experimental Nintendo Switch 2 emulator
C++
Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
Subv3c2b29e5c2ec
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cppindex 61f22b1a5a..aa6c7e8dc9 100644--- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp+++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp@@ -13,7 +13,7 @@namespace Service::Nvidia::Devices {u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) {- UNIMPLEMENTED();+ UNIMPLEMENTED_MSG("Unimplemented ioctl");return 0;}diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cppindex 660a0f6652..6e1ba1ac7e 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp@@ -18,7 +18,7 @@ u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<case IoctlCommand::IocCtrlEventWaitCommand:return IocCtrlEventWait(input, output);}- UNIMPLEMENTED();+ UNIMPLEMENTED_MSG("Unimplemented ioctl");return 0;}diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cppindex 18ea12ef55..b715723d31 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp@@ -25,7 +25,7 @@ u32 nvhost_ctrl_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::veccase IoctlCommand::IocZcullGetInfo:return ZCullGetInfo(input, output);}- UNIMPLEMENTED();+ UNIMPLEMENTED_MSG("Unimplemented ioctl");return 0;}diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cppindex a16e904570..dab6d0533d 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp@@ -40,7 +40,7 @@ u32 nvhost_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u}}- UNIMPLEMENTED();+ UNIMPLEMENTED_MSG("Unimplemented ioctl");return 0;};diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cppindex 4bb1f57f62..dcf079d918 100644--- a/src/core/hle/service/nvdrv/devices/nvmap.cpp+++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp@@ -32,7 +32,7 @@ u32 nvmap::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& oreturn IocParam(input, output);}- UNIMPLEMENTED();+ UNIMPLEMENTED_MSG("Unimplemented ioctl");return 0;}