From 0ce48134a0a99697e526f1977e390bb8aeb1e2ee Mon Sep 17 00:00:00 2001 From: Levi Dumas Date: Tue, 12 Mar 2024 16:09:16 -0500 Subject: [PATCH] Fixed crashes --- src/Ryujinx/AppHost.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index eb27ad953..cb8f1a2b2 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -1004,16 +1004,16 @@ namespace Ryujinx.Ava if (shouldExit) { - //if (ConfigurationState.Instance.CloseOnEmulatorStop) - //{ - // Console.WriteLine("quitting"); - //Console.WriteLine("still quitting"); - //} - //else - //{ + if (ConfigurationState.Instance.CloseOnEmulatorStop) + { + Console.WriteLine("quitting"); + Console.WriteLine("still quitting"); + } + else + { Stop(); - //} - + } + } }