diff options
| author | 2018-08-09 01:37:55 +1000 | |
|---|---|---|
| committer | 2018-08-09 01:37:55 +1000 | |
| commit | e9978fd4f55b34804154193e1a619d28896d5a59 (patch) | |
| tree | 759166d3d7ab77de53b4e575bff15d808e908cc1 /src/core | |
| parent | Inital pass of account backend implementation (diff) | |
| download | yuzu-e9978fd4f55b34804154193e1a619d28896d5a59.tar.gz yuzu-e9978fd4f55b34804154193e1a619d28896d5a59.tar.xz yuzu-e9978fd4f55b34804154193e1a619d28896d5a59.zip | |
Open first user added
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/acc/profile_manager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cpp index 1633d5d48..03021cb64 100644 --- a/src/core/hle/service/acc/profile_manager.cpp +++ b/src/core/hle/service/acc/profile_manager.cpp | |||
| @@ -7,7 +7,9 @@ constexpr ResultCode ERROR_TOO_MANY_USERS(ErrorModule::Account, -1); | |||
| 7 | constexpr ResultCode ERROR_ARGUMENT_IS_NULL(ErrorModule::Account, 20); | 7 | constexpr ResultCode ERROR_ARGUMENT_IS_NULL(ErrorModule::Account, 20); |
| 8 | 8 | ||
| 9 | ProfileManager::ProfileManager() { | 9 | ProfileManager::ProfileManager() { |
| 10 | CreateNewUser(UUID{1, 0}, Settings::values.username); | 10 | auto user_uuid = UUID{1, 0}; |
| 11 | CreateNewUser(user_uuid, Settings::values.username); | ||
| 12 | OpenUser(user_uuid); | ||
| 11 | } | 13 | } |
| 12 | 14 | ||
| 13 | size_t ProfileManager::AddToProfiles(const ProfileInfo& user) { | 15 | size_t ProfileManager::AddToProfiles(const ProfileInfo& user) { |