mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-12 04:49:32 +08:00
(CgFormat): changed interpretation of the signature byte.
This commit is contained in:
parent
23e5856825
commit
289cae9218
@ -214,7 +214,7 @@ namespace GameRes.Formats.Ags
|
|||||||
BPP = 24,
|
BPP = 24,
|
||||||
Type = sig,
|
Type = sig,
|
||||||
};
|
};
|
||||||
if (0 != (sig & 0xf))
|
if (0 != (sig & 7))
|
||||||
{
|
{
|
||||||
meta.OffsetX = input.ReadInt16();
|
meta.OffsetX = input.ReadInt16();
|
||||||
meta.OffsetY = input.ReadInt16();
|
meta.OffsetY = input.ReadInt16();
|
||||||
@ -266,7 +266,7 @@ namespace GameRes.Formats.Ags
|
|||||||
m_input = new BinaryReader (file, Encoding.ASCII, true);
|
m_input = new BinaryReader (file, Encoding.ASCII, true);
|
||||||
ShiftTable = InitShiftTable();
|
ShiftTable = InitShiftTable();
|
||||||
|
|
||||||
if (0 != (info.Type & 0xf))
|
if (0 != (info.Type & 7))
|
||||||
file.Position = 13;
|
file.Position = 13;
|
||||||
else
|
else
|
||||||
file.Position = 5;
|
file.Position = 5;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user