aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx/Ui/Windows/CheatWindow.cs
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2023-05-03 02:07:16 +0200
committerGitHub <noreply@github.com>2023-05-03 02:07:16 +0200
commitcc1a933a2f4adf05a45c7adcf02669c4f423bedb (patch)
tree0b36896dd4a33b4776afa99611575c9211697b89 /src/Ryujinx/Ui/Windows/CheatWindow.cs
parentdd574146fb5f05c1c0a469a4ad4a20c46bb37d74 (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.cs4
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");