diff options
| author | 2021-07-20 18:53:43 -0700 | |
|---|---|---|
| committer | 2021-07-20 18:54:56 -0700 | |
| commit | f3db3dcc8d5941bf09d682c9d22c865701e8160f (patch) | |
| tree | 076e570060b9f0c1f6acfa54859c2132765c48b4 /src/core/hle/kernel/svc.cpp | |
| parent | hle: service: nvdrv: Remove unused kernel reference. (diff) | |
| download | yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar.gz yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.tar.xz yuzu-f3db3dcc8d5941bf09d682c9d22c865701e8160f.zip | |
hle: kernel: svc: Remove part of ExitProcess.
- ExitProcess is not actually implemented either way, and this needs more work before we implement.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 5 |
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) { | |||
| 1440 | LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID()); | 1440 | LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID()); |
| 1441 | ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running, | 1441 | ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running, |
| 1442 | "Process has already exited"); | 1442 | "Process has already exited"); |
| 1443 | |||
| 1444 | current_process->PrepareForTermination(); | ||
| 1445 | |||
| 1446 | // Kill the current thread | ||
| 1447 | system.Kernel().CurrentScheduler()->GetCurrentThread()->Exit(); | ||
| 1448 | } | 1443 | } |
| 1449 | 1444 | ||
| 1450 | static void ExitProcess32(Core::System& system) { | 1445 | static void ExitProcess32(Core::System& system) { |