mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
hle: kernel: svc: Remove part of ExitProcess.
- ExitProcess is not actually implemented either way, and this needs more work before we implement.
This commit is contained in:
parent
185b19fd5b
commit
f3db3dcc8d
1 changed files with 0 additions and 5 deletions
|
@ -1440,11 +1440,6 @@ static void ExitProcess(Core::System& system) {
|
||||||
LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID());
|
LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID());
|
||||||
ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running,
|
ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running,
|
||||||
"Process has already exited");
|
"Process has already exited");
|
||||||
|
|
||||||
current_process->PrepareForTermination();
|
|
||||||
|
|
||||||
// Kill the current thread
|
|
||||||
system.Kernel().CurrentScheduler()->GetCurrentThread()->Exit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ExitProcess32(Core::System& system) {
|
static void ExitProcess32(Core::System& system) {
|
||||||
|
|
Loading…
Reference in a new issue