Slight fixup
This commit is contained in:
parent
2c05bce562
commit
8eea44bb90
1 changed files with 2 additions and 3 deletions
|
@ -16,10 +16,9 @@ namespace Ryujinx.HLE.OsHle.Services.Nv.NvHostCtrl
|
|||
{
|
||||
UserCtxs = new ConcurrentDictionary<Process, NvHostCtrlUserCtx>();
|
||||
|
||||
Set.NxSettings.Settings.TryGetValue("", out object ProductionModeSetting);
|
||||
if (ProductionModeSetting != null)
|
||||
if (Set.NxSettings.Settings.TryGetValue("", out object ProductionModeSetting))
|
||||
{
|
||||
IsProductionMode = ProductionModeSetting.ToString() != "0"; // Default value is ""
|
||||
IsProductionMode = ((string)ProductionModeSetting) != "0"; // Default value is ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue