mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
(KOG): BinaryStream in redundant.
This commit is contained in:
parent
073aacab05
commit
ab32785ef6
@ -47,8 +47,7 @@ namespace GameRes.Formats.Sviu
|
||||
uint signature = file.ReadUInt32();
|
||||
if (signature != OggAudio.Instance.Signature)
|
||||
return null;
|
||||
var input = new StreamRegion (file.AsStream, header_size);
|
||||
var ogg = new BinaryStream (input, file.Name);
|
||||
var ogg = new StreamRegion (file.AsStream, header_size);
|
||||
return new OggInput (ogg);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user