Fixed a bug where control would not return after changing settings.

Added a function to update the gamelist status after the game is released
This commit is contained in:
Vova 2025-02-09 15:30:33 +10:00
parent cdc4557d82
commit 4bbcec2076
3 changed files with 10 additions and 1 deletions

View File

@ -586,6 +586,9 @@ namespace Ryujinx.Ava
// (resets custom settings if there were any)
Program.ReloadConfig();
//Updates the gameList (changes the status of the user setting if it was added or removed during the game)
RyujinxApp.MainWindow.GameListUpdate();
_isStopped = true;
Stop();
}

View File

@ -645,6 +645,11 @@ namespace Ryujinx.Ava.UI.Windows
ReloadGameList();
}
public void GameListUpdate()
{
ReloadGameList();
}
public void ToggleFileType(string fileType)
{
switch (fileType)

View File

@ -109,6 +109,7 @@ namespace Ryujinx.Ava.UI.Windows
protected override void OnClosing(WindowClosingEventArgs e)
{
InputPage.Dispose(); // You need to unload the gamepad settings, otherwise the controls will be blocked
base.OnClosing(e);
}
}