Custom configuration for each game #632

Merged
Goodfeat merged 75 commits from master into master 2025-02-26 03:11:20 +00:00
2 changed files with 7 additions and 12 deletions
Showing only changes of commit 65527cfb69 - Show all commits

View File

@ -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()

View File

@ -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)