mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
IBinaryStream migration - continued.
This commit is contained in:
@@ -39,12 +39,12 @@ namespace GameRes.Formats.Circus
|
||||
OffsetMap = offset_map;
|
||||
}
|
||||
|
||||
internal Stream OpenByOffset (uint offset)
|
||||
internal IBinaryStream OpenByOffset (uint offset)
|
||||
{
|
||||
Entry entry;
|
||||
if (!OffsetMap.TryGetValue (offset, out entry))
|
||||
throw new FileNotFoundException();
|
||||
return OpenEntry (entry);
|
||||
return OpenBinaryEntry (entry);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user