From ada26900446848fe3a2c7b325cc4c998e6f088c1 Mon Sep 17 00:00:00 2001 From: Starlet Date: Mon, 9 Jul 2018 23:06:28 -0400 Subject: [PATCH] Fix some things. --- .../Services/Nv/NvHostCtrl/NvHostCtrlIoctl.cs | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/Ryujinx.HLE/OsHle/Services/Nv/NvHostCtrl/NvHostCtrlIoctl.cs b/Ryujinx.HLE/OsHle/Services/Nv/NvHostCtrl/NvHostCtrlIoctl.cs index 8474bbcd0f..de5ca30cfa 100644 --- a/Ryujinx.HLE/OsHle/Services/Nv/NvHostCtrl/NvHostCtrlIoctl.cs +++ b/Ryujinx.HLE/OsHle/Services/Nv/NvHostCtrl/NvHostCtrlIoctl.cs @@ -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; }