diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/acc/profile_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cpp index f34f5af97..e0b03d763 100644 --- a/src/core/hle/service/acc/profile_manager.cpp +++ b/src/core/hle/service/acc/profile_manager.cpp | |||
| @@ -207,7 +207,7 @@ UUID ProfileManager::GetLastOpenedUser() const { | |||
| 207 | bool ProfileManager::GetProfileBaseAndData(boost::optional<size_t> index, ProfileBase& profile, | 207 | bool ProfileManager::GetProfileBaseAndData(boost::optional<size_t> index, ProfileBase& profile, |
| 208 | ProfileData& data) const { | 208 | ProfileData& data) const { |
| 209 | if (GetProfileBase(index, profile)) { | 209 | if (GetProfileBase(index, profile)) { |
| 210 | std::memcpy(data.data(), profiles[index.get()].data.data(), MAX_DATA); | 210 | data = profiles[index.get()].data; |
| 211 | return true; | 211 | return true; |
| 212 | } | 212 | } |
| 213 | return false; | 213 | return false; |