diff --git a/ArcFormats/AudioOGG.cs b/ArcFormats/AudioOGG.cs index ab83c652..390aef1b 100644 --- a/ArcFormats/AudioOGG.cs +++ b/ArcFormats/AudioOGG.cs @@ -151,7 +151,7 @@ namespace GameRes.Formats uint fmt_size = header.ToUInt32 (0x10); long fmt_pos = file.Position; ushort format = file.ReadUInt16(); - if (format != 0x676F && format != 0x6770 && format != 0x6771) + if (format != 0x676F && format != 0x6770 && format != 0x6771 && format != 0x674F) return null; // interpret WAVE 'data' section as Ogg stream file.Position = fmt_pos + ((fmt_size + 1) & ~1); diff --git a/GameRes/AudioWAV.cs b/GameRes/AudioWAV.cs index 8f166bf1..3e2870e2 100644 --- a/GameRes/AudioWAV.cs +++ b/GameRes/AudioWAV.cs @@ -117,7 +117,7 @@ namespace GameRes if (!header.AsciiEqual (8, "WAVE")) return null; ushort tag = header.ToUInt16 (0x14); - if (0xFFFF == tag || 0x676F == tag || 0x6770 == tag) + if (0xFFFF == tag || 0x676F == tag || 0x6770 == tag || 0x674F == tag) return null; file.Position = 0; SoundInput sound = new WaveInput (file.AsStream);