Browse Source

nvmap: Add a return 0 underneath the UNIMPLEMENTED macro

This macro resolves to an empty macro in release builds.
Lioncash 8 years ago
parent
commit
06d2e1bd23
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/hle/service/nvdrv/devices/nvmap.cpp

+ 1 - 0
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
     }
 
     UNIMPLEMENTED();
+    return 0;
 }
 
 u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) {