diff --git a/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs b/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs index 600a96678..e69cc17f5 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}"); }