summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Lioncash2018-01-21 17:07:44 -0500
committerGravatar Lioncash2018-01-21 17:07:47 -0500
commit06d2e1bd23608cb5e64854c76b6e18911d9e0913 (patch)
tree8f6ba18f0cd1cff9d3d353bebfe971ba0f7f83bf /src/core
parentnvmap: Make IoctlCommands an enum class (diff)
downloadyuzu-06d2e1bd23608cb5e64854c76b6e18911d9e0913.tar.gz
yuzu-06d2e1bd23608cb5e64854c76b6e18911d9e0913.tar.xz
yuzu-06d2e1bd23608cb5e64854c76b6e18911d9e0913.zip
nvmap: Add a return 0 underneath the UNIMPLEMENTED macro
This macro resolves to an empty macro in release builds.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvmap.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp
index ca65d9d35..74ee7e154 100644
--- a/src/core/hle/service/nvdrv/devices/nvmap.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp
@@ -36,6 +36,7 @@ u32 nvmap::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& out
36 } 36 }
37 37
38 UNIMPLEMENTED(); 38 UNIMPLEMENTED();
39 return 0;
39} 40}
40 41
41u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) { 42u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) {