mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(WSM): assign default name from entry index.
This commit is contained in:
parent
12a96e229f
commit
16273cd31c
@ -237,7 +237,7 @@ namespace GameRes.Formats.Will
|
||||
var dir = new List<Entry> (count);
|
||||
for (int i = 0; i < table_count; ++i)
|
||||
{
|
||||
var entry = new Entry { Type = "audio" };
|
||||
var entry = new Entry { Name = i.ToString ("D4"), Type = "audio" };
|
||||
entry.Offset = file.View.ReadUInt32 (table_offset);
|
||||
entry.Size = file.View.ReadUInt32 (table_offset+4);
|
||||
if (!entry.CheckPlacement (file.MaxOffset))
|
||||
|
Loading…
x
Reference in New Issue
Block a user