aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-17 16:03:48 +0000
committerJohannes Schickel2009-09-17 16:03:48 +0000
commitd9ea1fd3d5bc3c8d8ef84eaaa5c01a29ea111e30 (patch)
tree59aa2a93fda6c39dcd4e018db42548bef15f4129 /engines
parentd98b1472ca6b9f753116bb365bb471ec29938d0b (diff)
downloadscummvm-rg350-d9ea1fd3d5bc3c8d8ef84eaaa5c01a29ea111e30.tar.gz
scummvm-rg350-d9ea1fd3d5bc3c8d8ef84eaaa5c01a29ea111e30.tar.bz2
scummvm-rg350-d9ea1fd3d5bc3c8d8ef84eaaa5c01a29ea111e30.zip
Enable delay for Ninteno DS in all occasions in o2_isAnySoundPlaying.
svn-id: r44164
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/script_hof.cpp2
1 files changed, 2 insertions, 0 deletions
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;