mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-26 21:57:48 +08:00
IBinaryStream migration - continued.
This commit is contained in:
@@ -63,7 +63,7 @@ namespace GameRes
|
||||
public override ImageData Read (IBinaryStream file, ImageMetaData info)
|
||||
{
|
||||
var bmp_info = info as BmpMetaData;
|
||||
if (bmp_info != null && EnableExtensions)
|
||||
if (bmp_info != null && EnableExtensions && file.AsStream.CanSeek)
|
||||
{
|
||||
foreach (var ext in m_extensions)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user