aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-18 13:05:08 +0000
committerMartin Kiewitz2010-06-18 13:05:08 +0000
commit661a170c86ee1fc7db05e16b19455bddeb6f66e8 (patch)
treeffa3126e3c04f5b3848c9372a6e9547d93e83137 /engines
parent919c348c5a739ed4cd85f7c38cb7cf10f86f3737 (diff)
downloadscummvm-rg350-661a170c86ee1fc7db05e16b19455bddeb6f66e8.tar.gz
scummvm-rg350-661a170c86ee1fc7db05e16b19455bddeb6f66e8.tar.bz2
scummvm-rg350-661a170c86ee1fc7db05e16b19455bddeb6f66e8.zip
SCI: change error() inside adlib driver ::setPatch() to warning() again, fixing pq2
svn-id: r50017
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/drivers/adlib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sound/drivers/adlib.cpp b/engines/sci/sound/drivers/adlib.cpp
index 4f93314b64..44e52cf768 100644
--- a/engines/sci/sound/drivers/adlib.cpp
+++ b/engines/sci/sound/drivers/adlib.cpp
@@ -703,7 +703,8 @@ void MidiDriver_AdLib::setVelocityReg(int regOffset, int velocity, int kbScaleLe
void MidiDriver_AdLib::setPatch(int voice, int patch) {
if ((patch < 0) || ((uint)patch >= _patches.size())) {
- error("ADLIB: Invalid patch %i requested", patch);
+ // This happens a lot at least in pq2, seems to me as if it's meant for mt32 actually
+ warning("ADLIB: Invalid patch %i requested", patch);
patch = 0;
}