diff options
author | Liam <byteslice@airmail.cc> | 2023-03-07 01:04:12 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-07 02:58:42 +0100 |
commit | 1d0fe75e7cca27d79006654dcc56c44cb4096d3a (patch) | |
tree | 3291e0ad973cd3c0e07ded22c968f40c2c6dd955 /src/core/hle/service/am/applets/applet_profile_select.cpp | |
parent | Merge pull request #9890 from Kelebek1/reverb_fix (diff) | |
download | yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.gz yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.bz2 yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.lz yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.xz yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.zst yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/applets/applet_profile_select.cpp | 7 |
1 files changed, 3 insertions, 4 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 c738db028..1d69f5447 100644 --- a/src/core/hle/service/am/applets/applet_profile_select.cpp +++ b/src/core/hle/service/am/applets/applet_profile_select.cpp @@ -7,13 +7,12 @@ #include "common/string_util.h" #include "core/core.h" #include "core/frontend/applets/profile_select.h" +#include "core/hle/service/acc/errors.h" #include "core/hle/service/am/am.h" #include "core/hle/service/am/applets/applet_profile_select.h" namespace Service::AM::Applets { -constexpr Result ERR_USER_CANCELLED_SELECTION{ErrorModule::Account, 1}; - ProfileSelect::ProfileSelect(Core::System& system_, LibraryAppletMode applet_mode_, const Core::Frontend::ProfileSelectApplet& frontend_) : Applet{system_, applet_mode_}, frontend{frontend_}, system{system_} {} @@ -63,8 +62,8 @@ void ProfileSelect::SelectionComplete(std::optional<Common::UUID> uuid) { output.result = 0; output.uuid_selected = *uuid; } else { - status = ERR_USER_CANCELLED_SELECTION; - output.result = ERR_USER_CANCELLED_SELECTION.raw; + status = Account::ResultCancelledByUser; + output.result = Account::ResultCancelledByUser.raw; output.uuid_selected = Common::InvalidUUID; } |