mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 05:35:34 +08:00
(SystemAqua): audio files are either wav or midi.
This commit is contained in:
parent
a15931b262
commit
409a992a0d
@ -39,6 +39,11 @@ namespace GameRes.Formats.SystemAqua
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanWrite { get { return false; } }
|
||||
|
||||
public DatOpener ()
|
||||
{
|
||||
Extensions = new string[] { "dat", "cat" };
|
||||
}
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
int count = file.View.ReadInt32 (0x10);
|
||||
@ -83,7 +88,7 @@ namespace GameRes.Formats.SystemAqua
|
||||
file.View.Read (entry.Offset+0xC, type, 0, 3);
|
||||
if (type.AsciiEqual ("000"))
|
||||
{
|
||||
entry.ChangeType (AudioFormat.Wav);
|
||||
entry.Type = "audio"; // either WAV or MIDI
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user