diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-21 00:49:52 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-21 01:48:57 +0200 |
commit | 9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e (patch) | |
tree | 6f6e85715156730928c4ecd9fb58fa0ff967a6a9 /src | |
parent | profile_manager: Use type aliases for username data, profile data, and user arrays (diff) | |
download | yuzu-9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e.tar yuzu-9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e.tar.gz yuzu-9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e.tar.bz2 yuzu-9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e.tar.lz yuzu-9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e.tar.xz yuzu-9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e.tar.zst yuzu-9d8f19d7bf69dd9213c2ced378f8a5e26f3d4d6e.zip |
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 { bool ProfileManager::GetProfileBaseAndData(boost::optional<size_t> index, ProfileBase& profile, ProfileData& data) const { if (GetProfileBase(index, profile)) { - std::memcpy(data.data(), profiles[index.get()].data.data(), MAX_DATA); + data = profiles[index.get()].data; return true; } return false; |