From 6c4f09c058d15e18e4e95d9eeda60719a35c2343 Mon Sep 17 00:00:00 2001 From: md5 Date: Fri, 15 Apr 2011 11:13:35 +0300 Subject: SCI: Silenced the warning for kMacPlatform(1) This warning produces a lot of spam in the console (e.g. it pops up whenever the icon bar is opened in Dr. Brain Mac), thus it has been silenced --- engines/sci/engine/kmisc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 907e0ba2e4..80425224bf 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -411,7 +411,8 @@ reg_t kMacPlatform(EngineState *s, int argc, reg_t *argv) { return kIconBar(s, argc - 1, argv + 1); case 7: // Unknown, but always return -1 return SIGNAL_REG; - case 1: // Unknown, calls QuickDraw region functions (KQ5, QFG1VGA) + case 1: // Unknown, calls QuickDraw region functions (KQ5, QFG1VGA, Dr. Brain 1) + break; // removed warning, as it produces a lot of spam in the console case 2: // Unknown, "UseNextWaitEvent" (Various) case 3: // Unknown, "ProcessOpenDocuments" (Various) case 5: // Unknown, plays a sound (KQ7) -- cgit v1.2.3