Explorar o código

nvmap: Add a return 0 underneath the UNIMPLEMENTED macro

This macro resolves to an empty macro in release builds.
Lioncash %!s(int64=8) %!d(string=hai) anos
pai
achega
06d2e1bd23
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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) {