aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-04-29 12:27:17 +0000
committerTorbjörn Andersson2004-04-29 12:27:17 +0000
commitf3d4bc7f8fda9b7d799affa1ee803f46263dd158 (patch)
tree06c5c7c4a320ae6af7fe22f1f574c11a6186f277
parenta0623e6012c179951d9d06fc7adb555e9a0123ab (diff)
downloadscummvm-rg350-f3d4bc7f8fda9b7d799affa1ee803f46263dd158.tar.gz
scummvm-rg350-f3d4bc7f8fda9b7d799affa1ee803f46263dd158.tar.bz2
scummvm-rg350-f3d4bc7f8fda9b7d799affa1ee803f46263dd158.zip
Quick-and-dirty music fix. I can hear music in the ITE intro now. I haven't
tried IHNM yet. svn-id: r13678
-rw-r--r--saga/music.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/saga/music.cpp b/saga/music.cpp
index bacfb99708..ea9103a882 100644
--- a/saga/music.cpp
+++ b/saga/music.cpp
@@ -191,8 +191,10 @@ int Music::play(ulong music_rn, uint flags) {
debug(0, "Music::play(%d, %d)", music_rn, flags);
- parser->setTrack(0);
+ parser->setTrack(0);
parser->setMidiDriver(_player);
+ parser->setTimerRate(10000); // FIXME: Get the timer rate from _driver
+
_player->_parser = parser;
_player->setVolume(ConfMan.getInt("music_volume") * ConfMan.getInt("master_volume") / 255);
_player->playMusic();