Code refinement. Added UI menu to user settings

Added markers to menu for settings related to global settings
This commit is contained in:
Vova
2025-02-15 19:59:23 +10:00
parent af00ca6ed8
commit 24867ec9b6
8 changed files with 146 additions and 68 deletions

View File

@@ -169,6 +169,11 @@ namespace Ryujinx.Ava
public static string GetDirGameUserConfig(string gameId, bool rememberGlobalDir = false, bool changeFolderForGame = false)
{
if (string.IsNullOrEmpty(gameId))
{
return "";
}
string gameDir = Path.Combine(AppDataManager.GamesDirPath, gameId, ReleaseInformation.ConfigName);
// Should load with the game if there is a custom setting for the game