diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-05-03 02:07:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 02:07:16 +0200 |
commit | cc1a933a2f4adf05a45c7adcf02669c4f423bedb (patch) | |
tree | 0b36896dd4a33b4776afa99611575c9211697b89 /src/Ryujinx/Ui/Windows/CheatWindow.cs | |
parent | dd574146fb5f05c1c0a469a4ad4a20c46bb37d74 (diff) |
ModLoader: Fix case sensitivy issues (#4720)1.1.744
* Fix case sensitivity for mod subdirectories
* Small refactoring of ModLoader
Diffstat (limited to 'src/Ryujinx/Ui/Windows/CheatWindow.cs')
-rw-r--r-- | src/Ryujinx/Ui/Windows/CheatWindow.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx/Ui/Windows/CheatWindow.cs b/src/Ryujinx/Ui/Windows/CheatWindow.cs index 917603b2..7dbea012 100644 --- a/src/Ryujinx/Ui/Windows/CheatWindow.cs +++ b/src/Ryujinx/Ui/Windows/CheatWindow.cs @@ -28,8 +28,8 @@ namespace Ryujinx.Ui.Windows builder.Autoconnect(this); _baseTitleInfoLabel.Text = $"Cheats Available for {titleName} [{titleId:X16}]"; - string modsBasePath = virtualFileSystem.ModLoader.GetModsBasePath(); - string titleModsPath = virtualFileSystem.ModLoader.GetTitleDir(modsBasePath, titleId.ToString("X16")); + string modsBasePath = ModLoader.GetModsBasePath(); + string titleModsPath = ModLoader.GetTitleDir(modsBasePath, titleId.ToString("X16")); _enabledCheatsPath = System.IO.Path.Combine(titleModsPath, "cheats", "enabled.txt"); |