diff --git a/Ryujinx.HLE/HOS/Services/Olsc/IOlscServiceForApplication.cs b/Ryujinx.HLE/HOS/Services/Olsc/IOlscServiceForApplication.cs index c70134c5..013e9064 100644 --- a/Ryujinx.HLE/HOS/Services/Olsc/IOlscServiceForApplication.cs +++ b/Ryujinx.HLE/HOS/Services/Olsc/IOlscServiceForApplication.cs @@ -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. }