VERY experimental Nintendo Switch 2 emulator
C++
Implement ExitProcess svc
Nikita Strygin5f5739ea2c78
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cppindex 47db0bacf5..2ff6d5fa6d 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 processstatic 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) {