mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 03:38:35 +00:00
oslc: Fix condition in GetSaveDataBackupSetting (#3208)
* oslc: Fix condition in GetSaveDataBackupSetting This PR fixes a condition previously implemented in #3190 where ACNH can't be booted without an existing savedata. Closes #3206 * Addresses gdkchan feedback
This commit is contained in:
parent
df70442c46
commit
b45d30acf8
|
@ -45,7 +45,7 @@ namespace Ryujinx.HLE.HOS.Services.Olsc
|
|||
return ResultCode.NullArgument;
|
||||
}
|
||||
|
||||
if (_saveDataBackupSettingDatabase[userId])
|
||||
if (_saveDataBackupSettingDatabase.TryGetValue(userId, out bool enabled) && enabled)
|
||||
{
|
||||
context.ResponseData.Write((byte)1); // TODO: Determine value.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue