From 5c1bc524092b3c5d867ce6204ac9db27b7359d3f Mon Sep 17 00:00:00 2001 From: Ac_K Date: Sun, 16 Jun 2019 00:35:38 +0200 Subject: Refactoring of acc:u0 (#701) * Refactoring of acc:u0 - Move all account things to the account service - More accurate IAccountServiceForApplication - Add helper to UInt128 * FIx my engrish * FIx my engrish #2 --- Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Ryujinx.HLE/HOS/Services/Friend') diff --git a/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs b/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs index 1a60a78b..17a32b00 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs @@ -69,9 +69,9 @@ namespace Ryujinx.HLE.HOS.Services.Friend context.RequestData.ReadInt64(), context.RequestData.ReadInt64()); - if (context.Device.System.State.TryGetUser(uuid, out UserProfile profile)) + if (context.Device.System.State.Account.TryGetUser(uuid, out UserProfile profile)) { - profile.OnlinePlayState = OpenCloseState.Open; + profile.OnlinePlayState = AccountState.Open; } Logger.PrintStub(LogClass.ServiceFriend, new { UserId = uuid.ToString(), profile.OnlinePlayState }); @@ -86,9 +86,9 @@ namespace Ryujinx.HLE.HOS.Services.Friend context.RequestData.ReadInt64(), context.RequestData.ReadInt64()); - if (context.Device.System.State.TryGetUser(uuid, out UserProfile profile)) + if (context.Device.System.State.Account.TryGetUser(uuid, out UserProfile profile)) { - profile.OnlinePlayState = OpenCloseState.Closed; + profile.OnlinePlayState = AccountState.Closed; } Logger.PrintStub(LogClass.ServiceFriend, new { UserId = uuid.ToString(), profile.OnlinePlayState }); -- cgit v1.2.3