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:
parent
cdc4557d82
commit
4bbcec2076
@ -586,6 +586,9 @@ namespace Ryujinx.Ava
|
|||||||
// (resets custom settings if there were any)
|
// (resets custom settings if there were any)
|
||||||
Program.ReloadConfig();
|
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;
|
_isStopped = true;
|
||||||
Stop();
|
Stop();
|
||||||
}
|
}
|
||||||
|
@ -645,6 +645,11 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
ReloadGameList();
|
ReloadGameList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void GameListUpdate()
|
||||||
|
{
|
||||||
|
ReloadGameList();
|
||||||
|
}
|
||||||
|
|
||||||
public void ToggleFileType(string fileType)
|
public void ToggleFileType(string fileType)
|
||||||
{
|
{
|
||||||
switch (fileType)
|
switch (fileType)
|
||||||
|
@ -109,6 +109,7 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
|
|
||||||
protected override void OnClosing(WindowClosingEventArgs e)
|
protected override void OnClosing(WindowClosingEventArgs e)
|
||||||
{
|
{
|
||||||
|
InputPage.Dispose(); // You need to unload the gamepad settings, otherwise the controls will be blocked
|
||||||
base.OnClosing(e);
|
base.OnClosing(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user