mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(GarExtract): skip invalid entries.
This commit is contained in:
parent
5e74d88ee6
commit
f486f19495
@ -240,6 +240,7 @@ namespace GARbro.GUI
|
||||
|
||||
private void ExtractFilesFromArchive (string text, IEnumerable<Entry> file_list)
|
||||
{
|
||||
file_list = file_list.Where (e => e.Offset >= 0);
|
||||
if (file_list.Skip (1).Any() // file_list.Count() > 1
|
||||
&& (m_skip_images || m_skip_script || m_skip_audio))
|
||||
file_list = file_list.Where (f => !(m_skip_images && f.Type == "image") &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user