aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/player
diff options
context:
space:
mode:
authorMax Horn2009-03-09 19:55:18 +0000
committerMax Horn2009-03-09 19:55:18 +0000
commit7ec2a981776d2935deff007f2566255fcafda00f (patch)
tree54a794819e43eb2e488f38f198a1464029dddc77 /engines/sci/sfx/player
parentd2514d20b97c43402835574ef9b5d2258ac3c4a7 (diff)
downloadscummvm-rg350-7ec2a981776d2935deff007f2566255fcafda00f.tar.gz
scummvm-rg350-7ec2a981776d2935deff007f2566255fcafda00f.tar.bz2
scummvm-rg350-7ec2a981776d2935deff007f2566255fcafda00f.zip
SCI: Added BaseSongIterator copy constructor which invokey sci_refcount_incref
svn-id: r39273
Diffstat (limited to 'engines/sci/sfx/player')
-rw-r--r--engines/sci/sfx/player/realtime.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sfx/player/realtime.cpp b/engines/sci/sfx/player/realtime.cpp
index 60053c57ae..ed688176c7 100644
--- a/engines/sci/sfx/player/realtime.cpp
+++ b/engines/sci/sfx/player/realtime.cpp
@@ -121,7 +121,8 @@ static void rt_timer_callback(void) {
} else if (delta > 15) {
play_writeahead -= 3; /* Adjust downwards */
}
- } else --play_moredelay;
+ } else
+ --play_moredelay;
if (play_writeahead < seq->min_write_ahead_ms)
play_writeahead = seq->min_write_ahead_ms;