diff options
| author | BaronKiko <BaronKiko@users.noreply.github.com> | 2019-04-26 05:54:46 +0100 |
|---|---|---|
| committer | jduncanator <1518948+jduncanator@users.noreply.github.com> | 2019-04-26 14:54:46 +1000 |
| commit | 2b8eac1bcec6d4870776b4f302d9dd7794223642 (patch) | |
| tree | f9d1b6beaf1e55cbf3d7bbcad7f23ed242ec6de5 | |
| parent | a07086c280a80869ce042366109a496a25d5de9b (diff) | |
Extended ignore missing services to INvDrvServices (#674)
* Ignores missing services now covers INvDrvServices
* Shouldn't have committed config change
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs | 4 |
1 files 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<NvFd>(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}"); } |
