Ignores missing services now covers INvDrvServices
This commit is contained in:
parent
74da8785a5
commit
c5a2a3b649
2 changed files with 3 additions and 3 deletions
|
@ -81,13 +81,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}");
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
"enable_aggressive_cpu_opts": true,
|
"enable_aggressive_cpu_opts": true,
|
||||||
|
|
||||||
// Enable or disable ignoring missing services, this may cause instability
|
// Enable or disable ignoring missing services, this may cause instability
|
||||||
"ignore_missing_services": false,
|
"ignore_missing_services": true,
|
||||||
|
|
||||||
// The primary controller's type
|
// The primary controller's type
|
||||||
// Supported Values: Handheld, ProController, NpadPair, NpadLeft, NpadRight
|
// Supported Values: Handheld, ProController, NpadPair, NpadLeft, NpadRight
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue