mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
(OGG): have to check for 'OggS' signature now.
This commit is contained in:
parent
df2ae85850
commit
3e6645a336
@ -164,9 +164,11 @@ namespace GameRes.Formats
|
||||
input = new StreamRegion (input, ogg_pos, section_size);
|
||||
break;
|
||||
}
|
||||
file.Seek ((section_size + 1) & ~1, SeekOrigin.Current);
|
||||
file.Seek ((section_size + 1) & ~1u, SeekOrigin.Current);
|
||||
}
|
||||
}
|
||||
else if (file.Signature != this.Signature)
|
||||
return null;
|
||||
return new OggInput (input);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user