Selaa lähdekoodia

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

Evan Husted 1 vuosi sitten
vanhempi
sitoutus
13d411e4de
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 })
             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))
                 if (!Directory.Exists(shaderCacheDir))
                 {
                 {