diff options
| author | 2018-04-23 15:22:49 -0400 | |
|---|---|---|
| committer | 2018-04-23 15:22:49 -0400 | |
| commit | d4f87e9af4d7fce2ab315f5fc5ca69374bf2b48c (patch) | |
| tree | 639451d7fdca12dec239ebdff56292c5c3fcb2f0 /src | |
| parent | Merge pull request #383 from Subv/gpu_mmu (diff) | |
| parent | Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers. (diff) | |
| download | yuzu-d4f87e9af4d7fce2ab315f5fc5ca69374bf2b48c.tar.gz yuzu-d4f87e9af4d7fce2ab315f5fc5ca69374bf2b48c.tar.xz yuzu-d4f87e9af4d7fce2ab315f5fc5ca69374bf2b48c.zip | |
Merge pull request #385 from Subv/unimpl_ioctls
Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
Diffstat (limited to 'src')
5 files changed, 5 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 61f22b1a5..aa6c7e8dc 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 @@ | |||
| 13 | namespace Service::Nvidia::Devices { | 13 | namespace Service::Nvidia::Devices { |
| 14 | 14 | ||
| 15 | u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) { | 15 | u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) { |
| 16 | UNIMPLEMENTED(); | 16 | UNIMPLEMENTED_MSG("Unimplemented ioctl"); |
| 17 | return 0; | 17 | return 0; |
| 18 | } | 18 | } |
| 19 | 19 | ||
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp index 660a0f665..6e1ba1ac7 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< | |||
| 18 | case IoctlCommand::IocCtrlEventWaitCommand: | 18 | case IoctlCommand::IocCtrlEventWaitCommand: |
| 19 | return IocCtrlEventWait(input, output); | 19 | return IocCtrlEventWait(input, output); |
| 20 | } | 20 | } |
| 21 | UNIMPLEMENTED(); | 21 | UNIMPLEMENTED_MSG("Unimplemented ioctl"); |
| 22 | return 0; | 22 | return 0; |
| 23 | } | 23 | } |
| 24 | 24 | ||
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp index 18ea12ef5..b715723d3 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::vec | |||
| 25 | case IoctlCommand::IocZcullGetInfo: | 25 | case IoctlCommand::IocZcullGetInfo: |
| 26 | return ZCullGetInfo(input, output); | 26 | return ZCullGetInfo(input, output); |
| 27 | } | 27 | } |
| 28 | UNIMPLEMENTED(); | 28 | UNIMPLEMENTED_MSG("Unimplemented ioctl"); |
| 29 | return 0; | 29 | return 0; |
| 30 | } | 30 | } |
| 31 | 31 | ||
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp index a16e90457..dab6d0533 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 | |||
| 40 | } | 40 | } |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | UNIMPLEMENTED(); | 43 | UNIMPLEMENTED_MSG("Unimplemented ioctl"); |
| 44 | return 0; | 44 | return 0; |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp index 4bb1f57f6..dcf079d91 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>& o | |||
| 32 | return IocParam(input, output); | 32 | return IocParam(input, output); |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | UNIMPLEMENTED(); | 35 | UNIMPLEMENTED_MSG("Unimplemented ioctl"); |
| 36 | return 0; | 36 | return 0; |
| 37 | } | 37 | } |
| 38 | 38 | ||