diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/acc/profile_manager.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/acc/profile_manager.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cpp index 9440dc555..e1ab0e559 100644 --- a/src/core/hle/service/acc/profile_manager.cpp +++ b/src/core/hle/service/acc/profile_manager.cpp | |||
| @@ -62,7 +62,7 @@ ResultCode ProfileManager::AddUser(ProfileInfo user) { | |||
| 62 | 62 | ||
| 63 | /// Create a new user on the system. If the uuid of the user already exists, the user is not | 63 | /// Create a new user on the system. If the uuid of the user already exists, the user is not |
| 64 | /// created. | 64 | /// created. |
| 65 | ResultCode ProfileManager::CreateNewUser(UUID uuid, std::array<u8, 0x20>& username) { | 65 | ResultCode ProfileManager::CreateNewUser(UUID uuid, const std::array<u8, 0x20>& username) { |
| 66 | if (user_count == MAX_USERS) { | 66 | if (user_count == MAX_USERS) { |
| 67 | return ERROR_TOO_MANY_USERS; | 67 | return ERROR_TOO_MANY_USERS; |
| 68 | } | 68 | } |
diff --git a/src/core/hle/service/acc/profile_manager.h b/src/core/hle/service/acc/profile_manager.h index d4a2f4116..49dc3a6e3 100644 --- a/src/core/hle/service/acc/profile_manager.h +++ b/src/core/hle/service/acc/profile_manager.h | |||
| @@ -79,7 +79,7 @@ class ProfileManager { | |||
| 79 | public: | 79 | public: |
| 80 | ProfileManager(); // TODO(ogniK): Load from system save | 80 | ProfileManager(); // TODO(ogniK): Load from system save |
| 81 | ResultCode AddUser(ProfileInfo user); | 81 | ResultCode AddUser(ProfileInfo user); |
| 82 | ResultCode CreateNewUser(UUID uuid, std::array<u8, 0x20>& username); | 82 | ResultCode CreateNewUser(UUID uuid, const std::array<u8, 0x20>& username); |
| 83 | ResultCode CreateNewUser(UUID uuid, const std::string& username); | 83 | ResultCode CreateNewUser(UUID uuid, const std::string& username); |
| 84 | boost::optional<size_t> GetUserIndex(const UUID& uuid) const; | 84 | boost::optional<size_t> GetUserIndex(const UUID& uuid) const; |
| 85 | boost::optional<size_t> GetUserIndex(ProfileInfo user) const; | 85 | boost::optional<size_t> GetUserIndex(ProfileInfo user) const; |