diff options
| author | emmauss <emmausssss@gmail.com> | 2018-10-07 16:13:46 +0300 |
|---|---|---|
| committer | Thomas Guillemard <thog@protonmail.com> | 2018-10-07 15:13:46 +0200 |
| commit | caa181edf2c956a1433d3c2f8678231af52f9dad (patch) | |
| tree | 4d7297bb09e90541368132a92b5235eee4315832 /Ryujinx.HLE/HOS/SystemState/UserProfile.cs | |
| parent | 5b8ccb717f225234ae97a2ef1673ca42833bd836 (diff) | |
Save Common implementation (#434)
* save common implementation
* remove zero userid check
* Renamed UserId to UInt128
* fix index in hex conversion
Diffstat (limited to 'Ryujinx.HLE/HOS/SystemState/UserProfile.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/SystemState/UserProfile.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/SystemState/UserProfile.cs b/Ryujinx.HLE/HOS/SystemState/UserProfile.cs index 63852cdf..e08bc48a 100644 --- a/Ryujinx.HLE/HOS/SystemState/UserProfile.cs +++ b/Ryujinx.HLE/HOS/SystemState/UserProfile.cs @@ -1,4 +1,5 @@ -using System; +using Ryujinx.HLE.Utilities; +using System; namespace Ryujinx.HLE.HOS.SystemState { @@ -6,7 +7,7 @@ namespace Ryujinx.HLE.HOS.SystemState { private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); - public UserId Uuid { get; private set; } + public UInt128 Uuid { get; private set; } public string Name { get; private set; } @@ -15,7 +16,7 @@ namespace Ryujinx.HLE.HOS.SystemState public OpenCloseState AccountState { get; set; } public OpenCloseState OnlinePlayState { get; set; } - public UserProfile(UserId Uuid, string Name) + public UserProfile(UInt128 Uuid, string Name) { this.Uuid = Uuid; this.Name = Name; |
