aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Acc
diff options
context:
space:
mode:
authorAlex Barney <thealexbarney@gmail.com>2019-07-10 12:20:01 -0500
committerAc_K <Acoustik666@gmail.com>2019-07-10 19:20:01 +0200
commitf723f6f39aaf7b1cebc0224a055058d62e3b689c (patch)
treeaaf206d3e03ea4b98d2818da2a0ba4f637c08f59 /Ryujinx.HLE/HOS/Services/Acc
parent596b61ce1fc9ac0397c3ea74a1033a3be5608512 (diff)
Update to LibHac 0.5.0 (#725)
* Update to libhac 0.5 * Catch HorizonResultException in IFileSystemProxy * Changes based on feedback
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Acc')
-rw-r--r--Ryujinx.HLE/HOS/Services/Acc/IAccountService.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Acc/IAccountService.cs b/Ryujinx.HLE/HOS/Services/Acc/IAccountService.cs
index 3f00ae66..84b0e030 100644
--- a/Ryujinx.HLE/HOS/Services/Acc/IAccountService.cs
+++ b/Ryujinx.HLE/HOS/Services/Acc/IAccountService.cs
@@ -321,8 +321,7 @@ namespace Ryujinx.HLE.HOS.Services.Acc
// 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.
- // TODO : Use "context.Device.System.ControlData.UserAccountSwitchLock" when LibHac is updated.
- context.ResponseData.Write(false);
+ context.ResponseData.Write(context.Device.System.ControlData.UserAccountSwitchLock);
Logger.PrintStub(LogClass.ServiceAcc);