Sfoglia il codice sorgente

misc: chore: also ToLower the titleID for the OpenShaderDirectory button

Evan Husted 1 anno fa
parent
commit
13d411e4de
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Ryujinx/UI/Controls/ApplicationContextMenu.axaml.cs

+ 1 - 1
src/Ryujinx/UI/Controls/ApplicationContextMenu.axaml.cs

@@ -251,7 +251,7 @@ namespace Ryujinx.Ava.UI.Controls
         {
             if (sender is MenuItem { DataContext: MainWindowViewModel { SelectedApplication: not null } viewModel })
             {
-                string shaderCacheDir = Path.Combine(AppDataManager.GamesDirPath, viewModel.SelectedApplication.IdString, "cache", "shader");
+                string shaderCacheDir = Path.Combine(AppDataManager.GamesDirPath, viewModel.SelectedApplication.IdString.ToLower(), "cache", "shader");
 
                 if (!Directory.Exists(shaderCacheDir))
                 {