summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-09-26 05:21:08 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-10-02 05:39:55 +0200
commit2f5808b7ffd168e1ab3ac7e453f8936098350e58 (patch)
tree89860f4f5df991336bab7332a77e76bb58e1047f /src
parentyuzu: main: Register a callback for Exit (diff)
downloadyuzu-2f5808b7ffd168e1ab3ac7e453f8936098350e58.tar
yuzu-2f5808b7ffd168e1ab3ac7e453f8936098350e58.tar.gz
yuzu-2f5808b7ffd168e1ab3ac7e453f8936098350e58.tar.bz2
yuzu-2f5808b7ffd168e1ab3ac7e453f8936098350e58.tar.lz
yuzu-2f5808b7ffd168e1ab3ac7e453f8936098350e58.tar.xz
yuzu-2f5808b7ffd168e1ab3ac7e453f8936098350e58.tar.zst
yuzu-2f5808b7ffd168e1ab3ac7e453f8936098350e58.zip
Diffstat (limited to 'src')
-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) {