diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-06-16 21:45:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 21:45:02 +0200 |
commit | 561f5c9c14aeced2143e03be0af07ed24ff6bb4a (patch) | |
tree | 8b1f2d43024d32990d41ffe5a429a302bf9af66b /src/core | |
parent | Merge pull request #8457 from liamwhite/kprocess-suspend (diff) | |
parent | Implement ExitProcess svc (diff) | |
download | yuzu-561f5c9c14aeced2143e03be0af07ed24ff6bb4a.tar yuzu-561f5c9c14aeced2143e03be0af07ed24ff6bb4a.tar.gz yuzu-561f5c9c14aeced2143e03be0af07ed24ff6bb4a.tar.bz2 yuzu-561f5c9c14aeced2143e03be0af07ed24ff6bb4a.tar.lz yuzu-561f5c9c14aeced2143e03be0af07ed24ff6bb4a.tar.xz yuzu-561f5c9c14aeced2143e03be0af07ed24ff6bb4a.tar.zst yuzu-561f5c9c14aeced2143e03be0af07ed24ff6bb4a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 47db0bacf..2ff6d5fa6 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -1726,11 +1726,12 @@ static ResultCode UnmapProcessCodeMemory(Core::System& system, Handle process_ha /// Exits the current process static void ExitProcess(Core::System& system) { auto* current_process = system.Kernel().CurrentProcess(); - UNIMPLEMENTED(); LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID()); ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running, "Process has already exited"); + + system.Exit(); } static void ExitProcess32(Core::System& system) { |