mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
fixed cast.
This commit is contained in:
parent
40575baacb
commit
e1bfe9cb09
@ -82,7 +82,7 @@ namespace GameRes.Formats.Pajamas
|
||||
|
||||
public override ImageData Read (IBinaryStream file, ImageMetaData info)
|
||||
{
|
||||
var meta = (EpaMetaData)info as EpaMetaData;
|
||||
var meta = (EpaMetaData)info;
|
||||
file.Position = 2 == meta.Mode ? 0x18 : 0x10;
|
||||
var reader = new Reader (file.AsStream, meta);
|
||||
reader.Unpack();
|
||||
|
Loading…
Reference in New Issue
Block a user