fixed some IBinaryStream migration aftermath.

This commit is contained in:
morkt
2017-01-02 21:06:05 +04:00
parent 8ff76d59d6
commit 77dc85f5be
4 changed files with 4 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ namespace GameRes.Formats.Ikura
case 0x48474948: bpp = 16; break;
default: return null;
}
stream.Position = 4;
uint width = stream.ReadUInt16();
uint height = stream.ReadUInt16();
return new ImageMetaData {