فهرست منبع

hle: kernel: svc: Remove part of ExitProcess.

- ExitProcess is not actually implemented either way, and this needs more work before we implement.
bunnei 5 سال پیش
والد
کامیت
f3db3dcc8d
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  1. 0 5
      src/core/hle/kernel/svc.cpp

+ 0 - 5
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) {