mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 03:45:46 +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
1 changed files with 2 additions and 2 deletions
|
@ -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