mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(OpenEntry): recognize actual WAV files.
This commit is contained in:
@@ -146,7 +146,8 @@ namespace GameRes.Formats.Softpal
|
||||
{
|
||||
if (arc is TpArchive)
|
||||
return OpenVoiceEntry (arc, entry);
|
||||
else if ("audio" == entry.Type)
|
||||
else if ("audio" == entry.Type
|
||||
&& AudioFormat.Wav.Signature != arc.File.View.ReadUInt32 (entry.Offset))
|
||||
return OpenAudioEntry (arc, entry);
|
||||
else
|
||||
return base.OpenEntry (arc, entry);
|
||||
|
||||
Reference in New Issue
Block a user