summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-21 03:53:43 +0200
committerbunnei <bunneidev@gmail.com>2021-07-21 03:54:56 +0200
commitf3db3dcc8d5941bf09d682c9d22c865701e8160f (patch)
tree076e570060b9f0c1f6acfa54859c2132765c48b4
parenthle: service: nvdrv: Remove unused kernel reference. (diff)
downloadyuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar
yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar.gz
yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar.bz2
yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar.lz
yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar.xz
yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar.zst
yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.zip
-rw-r--r--src/core/hle/kernel/svc.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index e1e556370..2eb532472 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -1440,11 +1440,6 @@ static void ExitProcess(Core::System& system) {
LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID());
ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running,
"Process has already exited");
-
- current_process->PrepareForTermination();
-
- // Kill the current thread
- system.Kernel().CurrentScheduler()->GetCurrentThread()->Exit();
}
static void ExitProcess32(Core::System& system) {