mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(DetBmpFormat): removed 'FD' signature.
This commit is contained in:
parent
f5b10f0cf7
commit
8894767e35
@ -46,7 +46,7 @@ namespace GameRes.Formats.uGOS
|
|||||||
public DetBmpFormat ()
|
public DetBmpFormat ()
|
||||||
{
|
{
|
||||||
Extensions = new string[] { "bmp" };
|
Extensions = new string[] { "bmp" };
|
||||||
Signatures = new uint[] { 0x206546, 0x186546, 0x086546, 0x01186446, 0x186446, 0 };
|
Signatures = new uint[] { 0x206546, 0x186546, 0x086546, 0 };
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ImageMetaData ReadMetaData (IBinaryStream stream)
|
public override ImageMetaData ReadMetaData (IBinaryStream stream)
|
||||||
@ -55,7 +55,7 @@ namespace GameRes.Formats.uGOS
|
|||||||
if (header[0] != 'F')
|
if (header[0] != 'F')
|
||||||
return null;
|
return null;
|
||||||
var type = header[1] & 0x5F;
|
var type = header[1] & 0x5F;
|
||||||
if (type != 'D' && type != 'E')
|
if (type != 'E')
|
||||||
return null;
|
return null;
|
||||||
int bpp = header[2];
|
int bpp = header[2];
|
||||||
if (bpp != 8 && bpp != 0x18 && bpp != 0x20)
|
if (bpp != 8 && bpp != 0x18 && bpp != 0x20)
|
||||||
|
Loading…
Reference in New Issue
Block a user