1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00

Extended ignore missing services to INvDrvServices (#674)

* Ignores missing services now covers INvDrvServices

* Shouldn't have committed config change
This commit is contained in:
BaronKiko 2019-04-26 05:54:46 +01:00 committed by jduncanator
parent a07086c280
commit 2b8eac1bce

View file

@ -82,13 +82,13 @@ namespace Ryujinx.HLE.HOS.Services.Nv
NvFd fdData = Fds.GetData<NvFd>(context.Process, fd); NvFd fdData = Fds.GetData<NvFd>(context.Process, fd);
int result; int result = 0;
if (_ioctlProcessors.TryGetValue(fdData.Name, out IoctlProcessor process)) if (_ioctlProcessors.TryGetValue(fdData.Name, out IoctlProcessor process))
{ {
result = process(context, cmd); result = process(context, cmd);
} }
else else if (!ServiceConfiguration.IgnoreMissingServices)
{ {
throw new NotImplementedException($"{fdData.Name} {cmd:x4}"); throw new NotImplementedException($"{fdData.Name} {cmd:x4}");
} }