mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-24 09:25:12 +00:00
parent
3a79b442b0
commit
e33dc6f096
@ -171,7 +171,7 @@ namespace Ryujinx.HLE.HOS
|
||||
|
||||
if (StrEquals(RomfsDir, modDir.Name))
|
||||
{
|
||||
Mod modData = modMetadata.Mods.FirstOrDefault(x => modDir.FullName.Equals(x.Path));
|
||||
Mod modData = modMetadata.Mods.FirstOrDefault(x => modDir.Parent.FullName.Equals(x.Path));
|
||||
bool enabled = modData?.Enabled ?? true;
|
||||
|
||||
mods.RomfsDirs.Add(mod = new Mod<DirectoryInfo>(dir.Name, modDir, enabled));
|
||||
@ -179,7 +179,7 @@ namespace Ryujinx.HLE.HOS
|
||||
}
|
||||
else if (StrEquals(ExefsDir, modDir.Name))
|
||||
{
|
||||
Mod modData = modMetadata.Mods.FirstOrDefault(x => modDir.FullName.Equals(x.Path));
|
||||
Mod modData = modMetadata.Mods.FirstOrDefault(x => modDir.Parent.FullName.Equals(x.Path));
|
||||
bool enabled = modData?.Enabled ?? true;
|
||||
|
||||
mods.ExefsDirs.Add(mod = new Mod<DirectoryInfo>(dir.Name, modDir, enabled));
|
||||
|
Loading…
x
Reference in New Issue
Block a user