summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-10-02 10:06:48 +0200
committerGitHub <noreply@github.com>2021-10-02 10:06:48 +0200
commitae3e51c795ea72dd1eaea64d44b94afab7d74007 (patch)
tree89860f4f5df991336bab7332a77e76bb58e1047f /src/core/hle
parentMerge pull request #7102 from Morph1984/remove-boxcat (diff)
parentservice: am: Make use of Exit to exit the currently running application (diff)
downloadyuzu-ae3e51c795ea72dd1eaea64d44b94afab7d74007.tar
yuzu-ae3e51c795ea72dd1eaea64d44b94afab7d74007.tar.gz
yuzu-ae3e51c795ea72dd1eaea64d44b94afab7d74007.tar.bz2
yuzu-ae3e51c795ea72dd1eaea64d44b94afab7d74007.tar.lz
yuzu-ae3e51c795ea72dd1eaea64d44b94afab7d74007.tar.xz
yuzu-ae3e51c795ea72dd1eaea64d44b94afab7d74007.tar.zst
yuzu-ae3e51c795ea72dd1eaea64d44b94afab7d74007.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/am/am.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 8c2e2f920..49e9787a4 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -332,10 +332,10 @@ ISelfController::~ISelfController() = default;
void ISelfController::Exit(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
- system.Shutdown();
-
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
+
+ system.Exit();
}
void ISelfController::LockExit(Kernel::HLERequestContext& ctx) {