mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use IBinaryStream interface instead of BinaryReader where appropriate.
This commit is contained in:
@@ -99,7 +99,7 @@ namespace GameRes.Formats.FC01
|
||||
MrgOpener.Decrypt (data, 0, data.Length, mca.Key);
|
||||
if (method > 0)
|
||||
{
|
||||
using (var input = new MemoryStream (data))
|
||||
using (var input = new BinMemoryStream (data))
|
||||
using (var lzss = new MrgLzssReader (input, data.Length, unpacked_size))
|
||||
{
|
||||
lzss.Unpack();
|
||||
|
||||
Reference in New Issue
Block a user