aboutsummaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index 3d4481aa..88a8a117 100644
--- a/Program.cs
+++ b/Program.cs
@@ -50,6 +50,10 @@ namespace Ryujinx
using (GLScreen Screen = new GLScreen(Ns, Renderer))
{
+ Ns.Finish += (Sender, Args) => {
+ Screen.Exit();
+ };
+
Screen.Run(60.0);
}