From c5a2a3b6496b710d7a70633527224360df40ef95 Mon Sep 17 00:00:00 2001 From: Andy Adshead Date: Sun, 21 Apr 2019 23:05:29 +0100 Subject: [PATCH] Ignores missing services now covers INvDrvServices --- Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs | 4 ++-- Ryujinx/Config.jsonc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs b/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs index d93372e22b..79ba7874a6 100644 --- a/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs +++ b/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs @@ -81,13 +81,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}"); } diff --git a/Ryujinx/Config.jsonc b/Ryujinx/Config.jsonc index 151756f43c..22a5e58787 100644 --- a/Ryujinx/Config.jsonc +++ b/Ryujinx/Config.jsonc @@ -45,7 +45,7 @@ "enable_aggressive_cpu_opts": true, // Enable or disable ignoring missing services, this may cause instability - "ignore_missing_services": false, + "ignore_missing_services": true, // The primary controller's type // Supported Values: Handheld, ProController, NpadPair, NpadLeft, NpadRight