diff options
| author | Alex Barney <thealexbarney@gmail.com> | 2022-02-26 16:52:25 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-27 00:52:25 +0100 |
| commit | 3705c206688c69d3348f5cec84dc480d8d7c578e (patch) | |
| tree | 6e0efab92727d3712ee27c83be3bdd6df7a97de3 /Ryujinx.HLE/HOS/Services/Account | |
| parent | 7b35ebc64a411e95e197bb36ad4b55c522c3703d (diff) | |
Update LibHac to v0.16.0 (#3159)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Account')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Account/Acc/AccountManager.cs | 4 | ||||
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountManager.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountManager.cs index 3f504b2e..e28fe106 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountManager.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountManager.cs @@ -168,8 +168,8 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc private void DeleteSaveData(UserId userId) { - SaveDataFilter saveDataFilter = new SaveDataFilter(); - saveDataFilter.SetUserId(new LibHac.Fs.UserId((ulong)userId.High, (ulong)userId.Low)); + var saveDataFilter = SaveDataFilter.Make(programId: default, saveType: default, + new LibHac.Fs.UserId((ulong)userId.High, (ulong)userId.Low), saveDataId: default, index: default); using var saveDataIterator = new UniqueRef<SaveDataIterator>(); diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs index c29ed570..4de0b34b 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs @@ -169,7 +169,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc // TODO: Account actually calls nn::arp::detail::IReader::GetApplicationControlProperty() with the current Pid and store the result (NACP file) internally. // But since we use LibHac and we load one Application at a time, it's not necessary. - context.ResponseData.Write(context.Device.Application.ControlData.Value.UserAccountSwitchLock); + context.ResponseData.Write((byte)context.Device.Application.ControlData.Value.UserAccountSwitchLock); Logger.Stub?.PrintStub(LogClass.ServiceAcc); |
