mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(Cromwell): recognize voice archives.
This commit is contained in:
parent
7360e65a6b
commit
78598f9238
@ -52,6 +52,9 @@ namespace GameRes.Formats.Cromwell
|
||||
int count = file.View.ReadInt32 (0x10);
|
||||
if (!IsSaneCount (count))
|
||||
return null;
|
||||
var base_name = Path.GetFileNameWithoutExtension (file.Name);
|
||||
if (is_graphic && base_name.Equals ("VOICE", System.StringComparison.OrdinalIgnoreCase))
|
||||
is_graphic = false;
|
||||
string type = is_graphic ? "image" : "audio";
|
||||
|
||||
uint index_offset = 0x14;
|
||||
|
Loading…
x
Reference in New Issue
Block a user