mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-14 22:03:56 +08:00
(ArcStream.ReadInt24): fixed.
This commit is contained in:
parent
5689aa4417
commit
6b2aed909e
@ -616,7 +616,7 @@ namespace GameRes
|
|||||||
if (m_position + 3 > m_size)
|
if (m_position + 3 > m_size)
|
||||||
throw new EndOfStreamException();
|
throw new EndOfStreamException();
|
||||||
int v = m_view.ReadUInt16 (m_start+m_position);
|
int v = m_view.ReadUInt16 (m_start+m_position);
|
||||||
v |= m_view.ReadByte (m_start+m_position+2);
|
v |= m_view.ReadByte (m_start+m_position+2) << 16;
|
||||||
m_position += 3;
|
m_position += 3;
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user