summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-20 18:53:32 -0400
committerGravatar Lioncash2018-08-20 19:48:57 -0400
commit350f6e0aa4fa598b9449d53263de7262aacc4070 (patch)
tree8de90d90dbb84eaa4f7374406a815c382b8096a3 /src
parentprofile_manager: Remove unnecessary memcpy in GetProfileBaseAndData() (diff)
downloadyuzu-350f6e0aa4fa598b9449d53263de7262aacc4070.tar.gz
yuzu-350f6e0aa4fa598b9449d53263de7262aacc4070.tar.xz
yuzu-350f6e0aa4fa598b9449d53263de7262aacc4070.zip
profile_manager: Use INVALID_UUID in the initializer of last_opened_user
Makes it a little bit more self-documenting.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/acc/profile_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/profile_manager.h b/src/core/hle/service/acc/profile_manager.h
index cb06e6fa6..52967844d 100644
--- a/src/core/hle/service/acc/profile_manager.h
+++ b/src/core/hle/service/acc/profile_manager.h
@@ -111,7 +111,7 @@ private:
111 size_t user_count = 0; 111 size_t user_count = 0;
112 boost::optional<size_t> AddToProfiles(const ProfileInfo& profile); 112 boost::optional<size_t> AddToProfiles(const ProfileInfo& profile);
113 bool RemoveProfileAtIndex(size_t index); 113 bool RemoveProfileAtIndex(size_t index);
114 UUID last_opened_user{0, 0}; 114 UUID last_opened_user{INVALID_UUID};
115}; 115};
116 116
117}; // namespace Service::Account 117}; // namespace Service::Account