Flush the error log before exit (ryubing/ryujinx!163)

See merge request ryubing/ryujinx!163
This commit is contained in:
Coxxs 2025-10-13 17:40:15 -05:00 committed by GreemDev
parent ceec9617ef
commit 51584a083b
5 changed files with 61 additions and 1 deletions

View file

@ -1893,6 +1893,9 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
return;
}
Logger.Error?.Print(LogClass.KernelSvc, "The guest program broke execution!");
Logger.Flush();
// TODO: Debug events.
currentThread.Owner.TerminateCurrentProcess();