From 661a170c86ee1fc7db05e16b19455bddeb6f66e8 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Fri, 18 Jun 2010 13:05:08 +0000 Subject: SCI: change error() inside adlib driver ::setPatch() to warning() again, fixing pq2 svn-id: r50017 --- engines/sci/sound/drivers/adlib.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3