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:
@@ -49,9 +49,9 @@ namespace GameRes.Formats.Cri
|
||||
|
||||
static readonly Tuple<uint, uint> DefaultKey = Tuple.Create (0x30DBE1ABu, 0xCC554639u);
|
||||
|
||||
public override SoundInput TryOpen (Stream file)
|
||||
public override SoundInput TryOpen (IBinaryStream file)
|
||||
{
|
||||
return new HcaInput (file, ConversionFormat.IeeeFloat, DefaultKey);
|
||||
return new HcaInput (file.AsStream, ConversionFormat.IeeeFloat, DefaultKey);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user