aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-01-24 01:29:52 +0000
committerWillem Jan Palenstijn2009-01-24 01:29:52 +0000
commita8ae95cc10ce05329ca9d4c48fcfb06f615de58b (patch)
tree23097f1fdd2814a22b4182afaa7132dd66046edc /engines/tinsel
parentde341291aa068d7ad2bb6e11c62b98f3e3120552 (diff)
downloadscummvm-rg350-a8ae95cc10ce05329ca9d4c48fcfb06f615de58b.tar.gz
scummvm-rg350-a8ae95cc10ce05329ca9d4c48fcfb06f615de58b.tar.bz2
scummvm-rg350-a8ae95cc10ce05329ca9d4c48fcfb06f615de58b.zip
fixing #2531282: don't fall back to a real audio CD when playing enhanced midi tracks
svn-id: r36030
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/music.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tinsel/music.cpp b/engines/tinsel/music.cpp
index 54a7656d44..bb6e794f8d 100644
--- a/engines/tinsel/music.cpp
+++ b/engines/tinsel/music.cpp
@@ -199,7 +199,8 @@ bool PlayMidiSequence(uint32 dwFileOffset, bool bLoop) {
if (track > 0) {
StopMidi();
- AudioCD.play(track, bLoop ? -1 : 1, 0, 0);
+ // try to play track, but don't fall back to a true CD
+ AudioCD.play(track, bLoop ? -1 : 1, 0, 0, true);
// Check if an enhanced audio track is being played.
// If it is, stop here and don't load a MIDI track