potential mcdf fixes

This commit is contained in:
rootdarkarchon
2024-01-16 00:02:56 +00:00
committed by Loporrit
parent c843af1470
commit add2d2eda9
4 changed files with 62 additions and 24 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ public sealed class FileCacheManager : IDisposable
{
if (_fileCaches.TryGetValue(hash, out var hashes))
{
var item = hashes.FirstOrDefault();
var item = hashes.OrderBy(p => p.PrefixedFilePath.Contains(PenumbraPrefix) ? 0 : 1).FirstOrDefault();
if (item != null) return GetValidatedFileCache(item);
}
return null;