ModLoader: Fix case sensitivy issues (#4720)
* Fix case sensitivity for mod subdirectories * Small refactoring of ModLoader
This commit is contained in:
parent
dd574146fb
commit
cc1a933a2f
7 changed files with 158 additions and 147 deletions
|
@ -2,6 +2,7 @@
|
|||
using LibHac.FsSystem;
|
||||
using LibHac.Loader;
|
||||
using LibHac.Ns;
|
||||
using Ryujinx.HLE.HOS;
|
||||
using Ryujinx.HLE.Loaders.Processes.Extensions;
|
||||
using ApplicationId = LibHac.Ncm.ApplicationId;
|
||||
|
||||
|
@ -17,8 +18,8 @@ namespace Ryujinx.HLE.Loaders.Processes
|
|||
|
||||
device.Configuration.VirtualFileSystem.ModLoader.CollectMods(
|
||||
new[] { programId },
|
||||
device.Configuration.VirtualFileSystem.ModLoader.GetModsBasePath(),
|
||||
device.Configuration.VirtualFileSystem.ModLoader.GetSdModsBasePath());
|
||||
ModLoader.GetModsBasePath(),
|
||||
ModLoader.GetSdModsBasePath());
|
||||
|
||||
if (programId != 0)
|
||||
{
|
||||
|
@ -36,4 +37,4 @@ namespace Ryujinx.HLE.Loaders.Processes
|
|||
return processResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue