예제 #1
0
        public ArchiveFileSystem(List <RomFsFileSystem> romfsList)
        {
            foreach (var romfs in romfsList)
            {
                ReadRomfs(romfs);
            }

            FileDict = Files.Distinct().ToDictionary(x => x.FullPath, x => x);
            Dir      = new Directory();
            foreach (var file in Files)
            {
                Dir.AddFile(file);
            }
        }