mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(BinMemoryStream.ReadBytes): fixed.
This commit is contained in:
parent
816bb74ddc
commit
1d16700780
@ -620,6 +620,7 @@ namespace GameRes
|
||||
count = Math.Min (count, m_length - m_position);
|
||||
var buffer = new byte[count];
|
||||
Buffer.BlockCopy (m_source, m_start+m_position, buffer, 0, count);
|
||||
m_position += count;
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user