diff options
author | Max Horn | 2003-12-27 15:24:49 +0000 |
---|---|---|
committer | Max Horn | 2003-12-27 15:24:49 +0000 |
commit | 87a168bc1b11df058ea32ced414ee8fd74313d70 (patch) | |
tree | 0ba1613929a58c17c9065f4a80f7d55fa7c2ab82 /scumm | |
parent | 17c189d1f9c40e79ccddcea1a1d972b2642abe99 (diff) | |
download | scummvm-rg350-87a168bc1b11df058ea32ced414ee8fd74313d70.tar.gz scummvm-rg350-87a168bc1b11df058ea32ced414ee8fd74313d70.tar.bz2 scummvm-rg350-87a168bc1b11df058ea32ced414ee8fd74313d70.zip |
proper error instead of silent (and fatal) failure
svn-id: r11967
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/imuse_digi.cpp b/scumm/imuse_digi.cpp index f0df2a8928..8ae35012c2 100644 --- a/scumm/imuse_digi.cpp +++ b/scumm/imuse_digi.cpp @@ -944,6 +944,8 @@ void IMuseDigital::startSound(int sound, byte *voc_src, int voc_size, int voc_ra *(uint16 *)(_channel[l].data + t * 4 + 0) = *(uint16 *)(ptr + t * 2); *(uint16 *)(_channel[l].data + t * 4 + 2) = *(uint16 *)(ptr + t * 2); } + } else { + error("Stereo 16 bit sound support not yet implemented"); } _channel[l].size = size; } else if (_channel[l].bits == 8) { |