diff --git a/libhac/Savefile/Savefile.cs b/libhac/Savefile/Savefile.cs index 27e61249..c92069bb 100644 --- a/libhac/Savefile/Savefile.cs +++ b/libhac/Savefile/Savefile.cs @@ -93,7 +93,13 @@ namespace libhac.Savefile layout.JournalDataSizeB + layout.SizeReservedArea); JournalStream = new JournalStream(journalData, journalMap, (int)Header.Journal.BlockSize); ReadFileInfo(); - FileDict = Files.ToDictionary(x => x.FullPath, x => x); + Dictionary dictionary = new Dictionary(); + foreach (FileEntry entry in Files) + { + dictionary[entry.FullPath] = entry; + } + + FileDict = dictionary; } }