From 06d2e1bd23608cb5e64854c76b6e18911d9e0913 Mon Sep 17 00:00:00 2001
From: Lioncash <mathew1800@gmail.com>
Date: Sun, 21 Jan 2018 17:07:44 -0500
Subject: [PATCH] nvmap: Add a return 0 underneath the UNIMPLEMENTED macro

This macro resolves to an empty macro in release builds.
---
 src/core/hle/service/nvdrv/devices/nvmap.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp
index ca65d9d357..74ee7e154c 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
     }
 
     UNIMPLEMENTED();
+    return 0;
 }
 
 u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) {