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
@ -582,13 +582,6 @@ namespace Ryujinx.Ava
|
|||||||
Rainbow.Disable();
|
Rainbow.Disable();
|
||||||
Rainbow.Reset();
|
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;
|
_isStopped = true;
|
||||||
Stop();
|
Stop();
|
||||||
}
|
}
|
||||||
@ -1125,6 +1118,13 @@ namespace Ryujinx.Ava
|
|||||||
});
|
});
|
||||||
|
|
||||||
(RendererHost.EmbeddedWindow as EmbeddedWindowOpenGL)?.MakeCurrent(true);
|
(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()
|
public void InitStatus()
|
||||||
|
@ -660,11 +660,6 @@ 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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user