mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(AdvSys3): use Entry.ChangeType.
This commit is contained in:
parent
4929d1efd1
commit
dc1647c5bf
@ -80,11 +80,7 @@ namespace GameRes.Formats.AdvSys
|
||||
else
|
||||
{
|
||||
var res = AutoEntry.DetectFileType (signature);
|
||||
if (res != null)
|
||||
{
|
||||
entry.Type = res.Type;
|
||||
entry.Name = Path.ChangeExtension (entry.Name, res.Extensions.FirstOrDefault());
|
||||
}
|
||||
entry.ChangeType (res);
|
||||
}
|
||||
dir.Add (entry);
|
||||
current_offset += size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user