dont false positive detect archives

This commit is contained in:
zeromus 2011-03-07 02:53:18 +00:00
parent 1ccb2a002e
commit e1be19c62c
1 changed files with 9 additions and 1 deletions

View File

@ -280,7 +280,15 @@ namespace BizHawk.MultiClient
if (SevenZip.FileChecker.CheckSignature(path, out offset, out isExecutable) != SevenZip.InArchiveFormat.None)
{
extractor = new SevenZip.SevenZipExtractor(path);
ScanArchive();
try
{
ScanArchive();
}
catch
{
extractor = null;
archiveItems = null;
}
}
}