Explorar o código

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

Evan Husted hai 1 ano
pai
achega
13d411e4de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))
                 {