diff options
| author | Ac_K <Acoustik666@gmail.com> | 2019-06-16 00:35:38 +0200 |
|---|---|---|
| committer | Thomas Guillemard <me@thog.eu> | 2019-06-16 00:35:38 +0200 |
| commit | 5c1bc524092b3c5d867ce6204ac9db27b7359d3f (patch) | |
| tree | 6176a128cb171a0b58b8fe12da87a346d2acf2aa /Ryujinx.HLE/HOS/Services/Acc/IManagerForApplication.cs | |
| parent | d8d5f2cbe703aa2ef2d1bb9211b3056da94b0168 (diff) | |
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
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Acc/IManagerForApplication.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Acc/IManagerForApplication.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Acc/IManagerForApplication.cs b/Ryujinx.HLE/HOS/Services/Acc/IManagerForApplication.cs index ba31bf4a..1ac18c5e 100644 --- a/Ryujinx.HLE/HOS/Services/Acc/IManagerForApplication.cs +++ b/Ryujinx.HLE/HOS/Services/Acc/IManagerForApplication.cs @@ -1,5 +1,6 @@ using Ryujinx.Common.Logging; using Ryujinx.HLE.HOS.Ipc; +using Ryujinx.HLE.HOS.Services.Arp; using Ryujinx.HLE.Utilities; using System.Collections.Generic; @@ -7,13 +8,15 @@ namespace Ryujinx.HLE.HOS.Services.Acc { class IManagerForApplication : IpcService { - private UInt128 _uuid; + private UInt128 _userId; + + private ApplicationLaunchProperty _applicationLaunchProperty; private Dictionary<int, ServiceProcessRequest> _commands; public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands; - public IManagerForApplication(UInt128 uuid) + public IManagerForApplication(UInt128 userId, ApplicationLaunchProperty applicationLaunchProperty) { _commands = new Dictionary<int, ServiceProcessRequest> { @@ -21,7 +24,8 @@ namespace Ryujinx.HLE.HOS.Services.Acc { 1, GetAccountId } }; - _uuid = uuid; + _userId = userId; + _applicationLaunchProperty = applicationLaunchProperty; } // CheckAvailability() |
