mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-30 23:50:15 +00:00
Mod Loader: Stop loading mods from folders that don't exactly match titleId (#5298)
* Stop loading mods from folders that don't exactly match titleId * What the worst that can happen?
This commit is contained in:
parent
4a27d29412
commit
4d804ed45e
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ namespace Ryujinx.HLE.HOS
|
|||
}
|
||||
|
||||
private static DirectoryInfo FindTitleDir(DirectoryInfo contentsDir, string titleId)
|
||||
=> contentsDir.EnumerateDirectories($"{titleId}*", DirEnumOptions).FirstOrDefault();
|
||||
=> contentsDir.EnumerateDirectories(titleId, DirEnumOptions).FirstOrDefault();
|
||||
|
||||
private static void AddModsFromDirectory(ModCache mods, DirectoryInfo dir, string titleId)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue