Gracefully close the app on exit (#12)
* Gracefully close the app on exit * Application tear down instead of calling Environment.Exit(0); do a better tear down of the application
This commit is contained in:
parent
b73fa8eb22
commit
1df2c5ce7f
6 changed files with 31 additions and 3 deletions
|
@ -9,6 +9,8 @@ namespace Ryujinx.OsHle.Svc
|
|||
{
|
||||
partial class SvcHandler
|
||||
{
|
||||
private void SvcExitProcess(ARegisters Registers) => Ns.Os.ExitProcess(Registers.ProcessId);
|
||||
|
||||
private void SvcCloseHandle(ARegisters Registers)
|
||||
{
|
||||
int Handle = (int)Registers.X0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue