From a4279005a6253443a681c9a1a423011c29e70ede Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 1 Feb 2016 08:31:23 +0400 Subject: [PATCH] (OpenEntry): recognize actual WAV files. --- ArcFormats/Softpal/ArcVAFS.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArcFormats/Softpal/ArcVAFS.cs b/ArcFormats/Softpal/ArcVAFS.cs index 1544d0d5..6a72f3fa 100644 --- a/ArcFormats/Softpal/ArcVAFS.cs +++ b/ArcFormats/Softpal/ArcVAFS.cs @@ -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);