mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 11:24:14 +08:00
(TCD): assign "image" type to *.spd files.
This commit is contained in:
parent
532f58625c
commit
fd55204172
@ -320,6 +320,8 @@ namespace GameRes.Formats.TopCat
|
||||
name = Path.Combine (dir_name, name);
|
||||
name = Path.ChangeExtension (name, section.Extension);
|
||||
var entry = FormatCatalog.Instance.Create<TcdEntry> (name);
|
||||
if (name.HasExtension (".SPD"))
|
||||
entry.Type = "image";
|
||||
entry.Offset = offsets[index];
|
||||
entry.Size = offsets[index+1] - offsets[index];
|
||||
entry.Index = index;
|
||||
|
Loading…
x
Reference in New Issue
Block a user