mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-08 14:49:14 +08:00
(OpenBinaryEntry): use BinaryStream.FromStream.
This commit is contained in:
@@ -214,9 +214,7 @@ namespace GameRes
|
||||
public IBinaryStream OpenBinaryEntry (Entry entry)
|
||||
{
|
||||
var input = OpenSeekableEntry (entry);
|
||||
if (input is IBinaryStream)
|
||||
return input as IBinaryStream;
|
||||
return new BinaryStream (input, entry.Name);
|
||||
return BinaryStream.FromStream (input, entry.Name);
|
||||
}
|
||||
|
||||
public ArchiveFileSystem CreateFileSystem ()
|
||||
|
||||
Reference in New Issue
Block a user