aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-08 14:38:56 +0000
committerTravis Howell2005-05-08 14:38:56 +0000
commitf52ef27fe82698db15604b7b7d75b30ee6549e07 (patch)
tree4fe45f4f3cb5b84d142cf90db67c727b8786dba2 /scumm/sound.cpp
parent01b2f3867093cae9626126ce35bd2731a7072c6a (diff)
downloadscummvm-rg350-f52ef27fe82698db15604b7b7d75b30ee6549e07.tar.gz
scummvm-rg350-f52ef27fe82698db15604b7b7d75b30ee6549e07.tar.bz2
scummvm-rg350-f52ef27fe82698db15604b7b7d75b30ee6549e07.zip
Should be an error now.
svn-id: r17966
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 68e3c3d066..b89658b25f 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -299,8 +299,7 @@ void Sound::playSound(int soundID, int heOffset, int heChannel, int heFlags) {
Common::MemoryReadStream stream(ptr, size);
if (!loadWAVFromStream(stream, size, rate, flags)) {
- warning("playSound: IMA ADPCM compression not supported");
- return;
+ error("playSound: Not a valid WAV file");
}
// Allocate a sound buffer, copy the data into it, and play