mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Reload configuration from global & reload app list at the end of the render loop (when it's done)
This commit is contained in:
parent
ced618d9a1
commit
65527cfb69
2 changed files with 7 additions and 12 deletions
|
|
@ -582,13 +582,6 @@ namespace Ryujinx.Ava
|
|||
Rainbow.Disable();
|
||||
Rainbow.Reset();
|
||||
|
||||
// Reload settings when the game is turned off
|
||||
// (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();
|
||||
}
|
||||
|
|
@ -1125,6 +1118,13 @@ namespace Ryujinx.Ava
|
|||
});
|
||||
|
||||
(RendererHost.EmbeddedWindow as EmbeddedWindowOpenGL)?.MakeCurrent(true);
|
||||
|
||||
// Reload settings when the game is turned off
|
||||
// (resets custom settings if there were any)
|
||||
Program.ReloadConfig();
|
||||
|
||||
// Reload application list (changes the status of the user setting if it was added or removed during the game)
|
||||
Dispatcher.UIThread.Post(() => RyujinxApp.MainWindow.LoadApplications());
|
||||
}
|
||||
|
||||
public void InitStatus()
|
||||
|
|
|
|||
|
|
@ -660,11 +660,6 @@ namespace Ryujinx.Ava.UI.Windows
|
|||
ReloadGameList();
|
||||
}
|
||||
|
||||
public void GameListUpdate()
|
||||
{
|
||||
ReloadGameList();
|
||||
}
|
||||
|
||||
public void ToggleFileType(string fileType)
|
||||
{
|
||||
switch (fileType)
|
||||
|
|
|
|||
Loading…
Reference in a new issue