diff options
| author | 2018-01-21 17:07:44 -0500 | |
|---|---|---|
| committer | 2018-01-21 17:07:47 -0500 | |
| commit | 06d2e1bd23608cb5e64854c76b6e18911d9e0913 (patch) | |
| tree | 8f6ba18f0cd1cff9d3d353bebfe971ba0f7f83bf /src/core | |
| parent | nvmap: Make IoctlCommands an enum class (diff) | |
| download | yuzu-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.cpp | 1 |
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 | ||
| 41 | u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) { | 42 | u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) { |