mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(ANI): change name assignment to include containing file name.
This commit is contained in:
parent
e78e80ca26
commit
56b3e862c2
@ -56,6 +56,7 @@ namespace GameRes.Formats.Musica
|
||||
return null;
|
||||
using (var input = file.CreateStream())
|
||||
{
|
||||
var base_name = Path.GetFileNameWithoutExtension (file.Name);
|
||||
input.Position = 8;
|
||||
var dir = new List<Entry> (count);
|
||||
for (int i = 0; i < count; ++i)
|
||||
@ -64,7 +65,7 @@ namespace GameRes.Formats.Musica
|
||||
if (string.IsNullOrWhiteSpace (name))
|
||||
return null;
|
||||
var entry = new Entry {
|
||||
Name = name,
|
||||
Name = string.Format ("{0}#{1}", base_name, name),
|
||||
Type = "image",
|
||||
Offset = input.Position,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user