From d9ea1fd3d5bc3c8d8ef84eaaa5c01a29ea111e30 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 17 Sep 2009 16:03:48 +0000 Subject: Enable delay for Ninteno DS in all occasions in o2_isAnySoundPlaying. svn-id: r44164 --- engines/kyra/script_hof.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/kyra') diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp index c1917bc1d3..ffaf512767 100644 --- a/engines/kyra/script_hof.cpp +++ b/engines/kyra/script_hof.cpp @@ -738,7 +738,9 @@ int KyraEngine_HoF::o2_isAnySoundPlaying(EMCState *script) { // Also the Ninteno DS backend seems only to update the sound, when // either OSystem::updateScreen or OSystem::delayMillis is called. // So we have to call delay here, since otherwise the game would hang. +#ifndef __DS__ if (_currentScene == 16 && _currentChapter == 1) +#endif delay(_tickLength); return _sound->voiceIsPlaying() ? 1 : 0; -- cgit v1.2.3