Fixed a bug where the emulator would still terminate the game when pressing a hotkey (unnecessary check removed)

This commit is contained in:
Vova 2025-01-08 23:00:41 +10:00
parent b6667a8352
commit c20452be61

View file

@ -1210,17 +1210,6 @@ namespace Ryujinx.Ava
return false;
}
if (NpadManager.Update(ConfigurationState.Instance.Graphics.AspectRatio.Value.ToFloat()))
{
if (ConfigurationState.Instance.Hid.specialExitEmulator.Value == 1)
{
SpecialExit = true;
}
_isActive = false;
}
if (NpadManager.Update(ConfigurationState.Instance.Graphics.AspectRatio.Value.ToFloat()))
{
if (ConfigurationState.Instance.Hid.specialExitEmulator.Value == 1)
@ -1229,7 +1218,6 @@ namespace Ryujinx.Ava
}
if (ConfigurationState.Instance.Hid.specialExitEmulator.Value > 0)
{
_isActive = false; //close game
}
}