Fix some things.

This commit is contained in:
Starlet 2018-07-09 23:06:28 -04:00
parent 84b4ae56d8
commit ada2690044

View file

@ -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;
}