summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-10-05 01:29:22 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-10-05 01:41:22 +0200
commit8d0b1a957e4924e05c48590e30fb0d7bc7fea68e (patch)
treee8ca231e59e801a09daff6353138c34d9ad99d3f /src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
parentservice/nfp: Silence -Wunused and -Wswitch (diff)
downloadyuzu-8d0b1a957e4924e05c48590e30fb0d7bc7fea68e.tar
yuzu-8d0b1a957e4924e05c48590e30fb0d7bc7fea68e.tar.gz
yuzu-8d0b1a957e4924e05c48590e30fb0d7bc7fea68e.tar.bz2
yuzu-8d0b1a957e4924e05c48590e30fb0d7bc7fea68e.tar.lz
yuzu-8d0b1a957e4924e05c48590e30fb0d7bc7fea68e.tar.xz
yuzu-8d0b1a957e4924e05c48590e30fb0d7bc7fea68e.tar.zst
yuzu-8d0b1a957e4924e05c48590e30fb0d7bc7fea68e.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp5
1 files changed, 3 insertions, 2 deletions
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 389ace76f..cc2192e5c 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
@@ -40,9 +40,10 @@ u32 nvhost_ctrl_gpu::ioctl(Ioctl command, const std::vector<u8>& input,
return FlushL2(input, output);
case IoctlCommand::IocGetGpuTime:
return GetGpuTime(input, output);
+ default:
+ UNIMPLEMENTED_MSG("Unimplemented ioctl");
+ return 0;
}
- UNIMPLEMENTED_MSG("Unimplemented ioctl");
- return 0;
}
u32 nvhost_ctrl_gpu::GetCharacteristics(const std::vector<u8>& input, std::vector<u8>& output,