Crsky
2025-09-28 02:05:39 +08:00
parent e12c663d7d
commit 82cf8f23bd

View File

@@ -86,7 +86,7 @@ namespace GameRes.Formats.Will
public override IImageDecoder OpenImage (ArcFile arc, Entry entry) public override IImageDecoder OpenImage (ArcFile arc, Entry entry)
{ {
var pent = (PnaEntry)entry; var pent = (PnaEntry)entry;
var input = arc.File.CreateStream (entry.Offset, entry.Size); var input = arc.File.CreateStream (entry.Offset, entry.Size, entry.Name);
return new PnaDecoder (input, pent.Info); return new PnaDecoder (input, pent.Info);
} }
} }