Skip to content

Commit

Permalink
Revert "ModLoader: Fix case sensitivy issues (#4720)" (#4781)
Browse files Browse the repository at this point in the history
This reverts commit cc1a933.
  • Loading branch information
marysaka authored May 3, 2023
1 parent 7c327fe commit b7d2bff
Show file tree
Hide file tree
Showing 7 changed files with 147 additions and 158 deletions.
8 changes: 4 additions & 4 deletions src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1576,8 +1576,8 @@ public void OpenModsDirectory()
{
if (SelectedApplication != null)
{
string modsBasePath = ModLoader.GetModsBasePath();
string titleModsPath = ModLoader.GetTitleDir(modsBasePath, SelectedApplication.TitleId);
string modsBasePath = VirtualFileSystem.ModLoader.GetModsBasePath();
string titleModsPath = VirtualFileSystem.ModLoader.GetTitleDir(modsBasePath, SelectedApplication.TitleId);

OpenHelper.OpenFolder(titleModsPath);
}
Expand All @@ -1587,8 +1587,8 @@ public void OpenSdModsDirectory()
{
if (SelectedApplication != null)
{
string sdModsBasePath = ModLoader.GetSdModsBasePath();
string titleModsPath = ModLoader.GetTitleDir(sdModsBasePath, SelectedApplication.TitleId);
string sdModsBasePath = VirtualFileSystem.ModLoader.GetSdModsBasePath();
string titleModsPath = VirtualFileSystem.ModLoader.GetTitleDir(sdModsBasePath, SelectedApplication.TitleId);

OpenHelper.OpenFolder(titleModsPath);
}
Expand Down
4 changes: 2 additions & 2 deletions src/Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public CheatWindow(VirtualFileSystem virtualFileSystem, string titleId, string t

InitializeComponent();

string modsBasePath = ModLoader.GetModsBasePath();
string titleModsPath = ModLoader.GetTitleDir(modsBasePath, titleId);
string modsBasePath = virtualFileSystem.ModLoader.GetModsBasePath();
string titleModsPath = virtualFileSystem.ModLoader.GetTitleDir(modsBasePath, titleId);
ulong titleIdValue = ulong.Parse(titleId, System.Globalization.NumberStyles.HexNumber);

_enabledCheatsPath = Path.Combine(titleModsPath, "cheats", "enabled.txt");
Expand Down
Loading

0 comments on commit b7d2bff

Please sign in to comment.