From 2b8eac1bcec6d4870776b4f302d9dd7794223642 Mon Sep 17 00:00:00 2001 From: BaronKiko Date: Fri, 26 Apr 2019 05:54:46 +0100 Subject: [PATCH] Extended ignore missing services to INvDrvServices (#674) * Ignores missing services now covers INvDrvServices * Shouldn't have committed config change --- Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs b/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs index 600a9667..e69cc17f 100644 --- a/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs +++ b/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs @@ -82,13 +82,13 @@ namespace Ryujinx.HLE.HOS.Services.Nv NvFd fdData = Fds.GetData(context.Process, fd); - int result; + int result = 0; if (_ioctlProcessors.TryGetValue(fdData.Name, out IoctlProcessor process)) { result = process(context, cmd); } - else + else if (!ServiceConfiguration.IgnoreMissingServices) { throw new NotImplementedException($"{fdData.Name} {cmd:x4}"); }