mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 01:25:25 +00: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:
parent
a07086c280
commit
2b8eac1bce
|
@ -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}");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue