mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(DwqFormat): PACKTYPE 1 is a packed BMP.
This commit is contained in:
parent
46a6c5390f
commit
9b04f39738
@ -97,7 +97,7 @@ namespace GameRes.Formats.BlackCyc
|
|||||||
{
|
{
|
||||||
if (!Binary.AsciiEqual (header.Bytes, 0x0D, "0 ") ||
|
if (!Binary.AsciiEqual (header.Bytes, 0x0D, "0 ") ||
|
||||||
!Binary.AsciiEqual (header.Bytes, 0x2C, "BMP ") ||
|
!Binary.AsciiEqual (header.Bytes, 0x2C, "BMP ") ||
|
||||||
header.PackType != 0)
|
header.PackType != 0 && header.PackType != 1)
|
||||||
return null;
|
return null;
|
||||||
using (var bmp = new StreamRegion (stream, 0x40, true))
|
using (var bmp = new StreamRegion (stream, 0x40, true))
|
||||||
{
|
{
|
||||||
@ -173,6 +173,7 @@ namespace GameRes.Formats.BlackCyc
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 1:
|
||||||
case 3: // PACKBMP+MASK
|
case 3: // PACKBMP+MASK
|
||||||
{
|
{
|
||||||
var reader = new DwqBmpReader (input, meta);
|
var reader = new DwqBmpReader (input, meta);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user