From ce909a35b3ba692798e5d74d113d1c5e1890a0c0 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 29 Apr 2005 15:33:07 +0000 Subject: Some sound resources in soccer2004 are compressed too. Add Moonbase demo, as testing target only. svn-id: r17866 --- scumm/sound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scumm/sound.cpp') diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 8226c204d7..e759b52275 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -294,7 +294,8 @@ void Sound::playSound(int soundID, int heOffset, int heChannel, int heFlags) { Common::MemoryReadStream stream(ptr, size); if (!loadWAVFromStream(stream, size, rate, flags)) { - error("playSound: Not a valid WAV file"); + warning("playSound: IMA ADPCM compression not supported"); + return; } // Allocate a sound buffer, copy the data into it, and play -- cgit v1.2.3