summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-09-22 23:52:37 +0200
committerLioncash <mathew1800@gmail.com>2021-09-22 23:59:00 +0200
commit40314cc58646e9e91e961e0d82b7d1b53bd839a0 (patch)
tree17ec58af41507fc0edff29325b528ac4029d599b /src/core/hle/service/am
parentMerge pull request #7003 from ameerj/unlocked-present-mode (diff)
downloadyuzu-40314cc58646e9e91e961e0d82b7d1b53bd839a0.tar
yuzu-40314cc58646e9e91e961e0d82b7d1b53bd839a0.tar.gz
yuzu-40314cc58646e9e91e961e0d82b7d1b53bd839a0.tar.bz2
yuzu-40314cc58646e9e91e961e0d82b7d1b53bd839a0.tar.lz
yuzu-40314cc58646e9e91e961e0d82b7d1b53bd839a0.tar.xz
yuzu-40314cc58646e9e91e961e0d82b7d1b53bd839a0.tar.zst
yuzu-40314cc58646e9e91e961e0d82b7d1b53bd839a0.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/applets/applet_profile_select.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/applet_profile_select.cpp b/src/core/hle/service/am/applets/applet_profile_select.cpp
index bdc21778e..a6e891944 100644
--- a/src/core/hle/service/am/applets/applet_profile_select.cpp
+++ b/src/core/hle/service/am/applets/applet_profile_select.cpp
@@ -60,7 +60,7 @@ void ProfileSelect::Execute() {
void ProfileSelect::SelectionComplete(std::optional<Common::UUID> uuid) {
UserSelectionOutput output{};
- if (uuid.has_value() && uuid->uuid != Common::INVALID_UUID) {
+ if (uuid.has_value() && uuid->IsValid()) {
output.result = 0;
output.uuid_selected = uuid->uuid;
} else {