Use UnsupportedBundleDecompression in BundleFileBlockReader

This commit is contained in:
Jeremy Pritts 2023-11-12 11:42:16 -05:00
parent 750543546f
commit ceea3684ff

View File

@ -98,7 +98,8 @@ namespace AssetRipper.IO.Files.BundleFiles.FileStream
break;
default:
throw new NotSupportedException($"Bundle compression '{compressType}' isn't supported");
UnsupportedBundleDecompression.Throw(entry.PathFixed, compressType);
break;
}
blockStream = m_cachedBlockStream;
}