mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 05:05:46 +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
1 changed files with 1 additions and 1 deletions
|
@ -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