Open intvsteve opened 4 years ago
Very low sev. This behavior is expected at this time.
When ROMs in archives are identified:
ICompressedArchiveAccess
Have not done any investigation of performance of creating ICompressedArchiveAccess
instances. E.g. if you have 500 ROMs would validating result in creating / disposing 500 archive accessor instances? And in some cases, e.g. nested archives, doing so may result in extracting temporary copies!
Another item to consider here is just how rigorous the validation is. Full validation implies actually computing CRCs of ROMs / .cfg files in archives. This likely means extracting to temporary file because there are scenarios in which seek access to the data stream may occur. Not all archive formats support seek access - hence the side effect of temporary extraction.
These considerations, in addition to memos holding onto StorageLocation
means it's possible we'd be keeping many archive instances around. I.e. no 'memo' system for archives themselves is yet implemented.
When you add a ROM to the ROM list while archive support is enabled, the next time you start LUI they act like they're missing, and the 'backup' copy of the ROM is used.