aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-05-19 03:29:39 +0000
committerTravis Howell2003-05-19 03:29:39 +0000
commitf6d745a03b5a913525a19175d0e0117d260f49c8 (patch)
treeb26590d61a09c4ed5acafef84208b734ca9c8b99
parent4a87f8191f383b058f18653a4710ebde324ab5b0 (diff)
downloadscummvm-rg350-f6d745a03b5a913525a19175d0e0117d260f49c8.tar.gz
scummvm-rg350-f6d745a03b5a913525a19175d0e0117d260f49c8.tar.bz2
scummvm-rg350-f6d745a03b5a913525a19175d0e0117d260f49c8.zip
Music fix from Jamieson630
svn-id: r7667
-rw-r--r--simon/simon.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 49ede5be20..8f5f4f561f 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -5067,7 +5067,10 @@ void SimonState::playMusic(uint music_unk, uint music) {
// TODO Add music support for simon1demo
} else {
midi.stop();
- if (_game & GF_TALKIE) {
+ if (_game & GF_WIN) {
+ _game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music], SEEK_SET);
+ midi.playMultipleSMF (_game_file);
+ } else if (_game & GF_TALKIE) {
_game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music], SEEK_SET);
midi.playSMF (_game_file);
} else {