mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(OpenEntry): recognize actual WAV files.
This commit is contained in:
parent
2e21deb2db
commit
a4279005a6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user