summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/profile_select.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-01-11 03:53:07 +0100
committerZach Hilman <zachhilman@gmail.com>2019-04-25 14:13:11 +0200
commit851c01c45eac863359869ab82eea976cc365104d (patch)
tree03883d80754d5d7beb1b9f45e6bb5c28d5fbc33b /src/core/hle/service/am/applets/profile_select.cpp
parentmii: Implement Delete and Destroy file (diff)
downloadyuzu-851c01c45eac863359869ab82eea976cc365104d.tar
yuzu-851c01c45eac863359869ab82eea976cc365104d.tar.gz
yuzu-851c01c45eac863359869ab82eea976cc365104d.tar.bz2
yuzu-851c01c45eac863359869ab82eea976cc365104d.tar.lz
yuzu-851c01c45eac863359869ab82eea976cc365104d.tar.xz
yuzu-851c01c45eac863359869ab82eea976cc365104d.tar.zst
yuzu-851c01c45eac863359869ab82eea976cc365104d.zip
Diffstat (limited to 'src/core/hle/service/am/applets/profile_select.cpp')
-rw-r--r--src/core/hle/service/am/applets/profile_select.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/am/applets/profile_select.cpp b/src/core/hle/service/am/applets/profile_select.cpp
index d113bd2eb..3c184859d 100644
--- a/src/core/hle/service/am/applets/profile_select.cpp
+++ b/src/core/hle/service/am/applets/profile_select.cpp
@@ -56,16 +56,16 @@ void ProfileSelect::Execute() {
frontend.SelectProfile([this](std::optional<Account::UUID> uuid) { SelectionComplete(uuid); });
}
-void ProfileSelect::SelectionComplete(std::optional<Account::UUID> uuid) {
+void ProfileSelect::SelectionComplete(std::optional<Common::UUID> uuid) {
UserSelectionOutput output{};
- if (uuid.has_value() && uuid->uuid != Account::INVALID_UUID) {
+ if (uuid.has_value() && uuid->uuid != Common::INVALID_UUID) {
output.result = 0;
output.uuid_selected = uuid->uuid;
} else {
status = ERR_USER_CANCELLED_SELECTION;
output.result = ERR_USER_CANCELLED_SELECTION.raw;
- output.uuid_selected = Account::INVALID_UUID;
+ output.uuid_selected = Common::INVALID_UUID;
}
final_data = std::vector<u8>(sizeof(UserSelectionOutput));