Fix some things.
This commit is contained in:
parent
84b4ae56d8
commit
ada2690044
1 changed files with 3 additions and 16 deletions
|
@ -78,22 +78,7 @@ namespace Ryujinx.HLE.OsHle.Services.Nv.NvHostCtrl
|
|||
|
||||
if (Args.DomainString == "nv")
|
||||
{
|
||||
if (Args.ParameterString == "NV_MEMORY_PROFILER")
|
||||
{
|
||||
Args.ParameterString = "0";
|
||||
}
|
||||
else if (Args.ParameterString == "NVN_THROUGH_OPENGL")
|
||||
{
|
||||
Args.ParameterString = "0";
|
||||
}
|
||||
else if (Args.ParameterString == "NVRM_GPU_PREVENT_USE")
|
||||
{
|
||||
Args.ParameterString = "0";
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.ParameterString = "0";
|
||||
}
|
||||
Args.ConfigurationString = "0";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -102,6 +87,8 @@ namespace Ryujinx.HLE.OsHle.Services.Nv.NvHostCtrl
|
|||
|
||||
AMemoryHelper.Write(Context.Memory, OutputPosition, Args);
|
||||
|
||||
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
||||
|
||||
return NvResult.Success;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue