mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(AGS): ignore plain wave files.
This commit is contained in:
parent
b1e59f6b0d
commit
3a9e5de5c8
@ -44,6 +44,8 @@ namespace GameRes.Formats.Ags32i
|
||||
public override SoundInput TryOpen (IBinaryStream file)
|
||||
{
|
||||
uint key = file.Signature ^ 0x46464952u;
|
||||
if (0 == key)
|
||||
return null;
|
||||
Stream input = new InputCryptoStream (file.AsStream, new Ags32Transform (key));
|
||||
input = new SeekableStream (input);
|
||||
var header = new byte[12];
|
||||
|
Loading…
Reference in New Issue
Block a user