diff options
author | Travis Howell | 2005-05-08 14:38:56 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-08 14:38:56 +0000 |
commit | f52ef27fe82698db15604b7b7d75b30ee6549e07 (patch) | |
tree | 4fe45f4f3cb5b84d142cf90db67c727b8786dba2 /scumm/sound.cpp | |
parent | 01b2f3867093cae9626126ce35bd2731a7072c6a (diff) | |
download | scummvm-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.cpp | 3 |
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 |