mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(MGD): apparently alpha channel is not inverted.
This commit is contained in:
parent
73db11a6bc
commit
87fa9df020
@ -138,7 +138,7 @@ namespace GameRes.Formats.NSystem
|
|||||||
if (count < 0)
|
if (count < 0)
|
||||||
{
|
{
|
||||||
count = (count & 0x7FFF) + 1;
|
count = (count & 0x7FFF) + 1;
|
||||||
byte a = (byte)~m_input.ReadUInt8();
|
byte a = m_input.ReadUInt8();
|
||||||
length--;
|
length--;
|
||||||
for (int i = 0; i < count; ++i)
|
for (int i = 0; i < count; ++i)
|
||||||
{
|
{
|
||||||
@ -150,7 +150,7 @@ namespace GameRes.Formats.NSystem
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < count; ++i)
|
for (int i = 0; i < count; ++i)
|
||||||
{
|
{
|
||||||
m_output[dst] = (byte)~m_input.ReadUInt8();
|
m_output[dst] = m_input.ReadUInt8();
|
||||||
dst += 4;
|
dst += 4;
|
||||||
}
|
}
|
||||||
length -= count;
|
length -= count;
|
||||||
|
Loading…
Reference in New Issue
Block a user