aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-09-26 09:31:05 +0000
committerPaweł Kołodziejski2009-09-26 09:31:05 +0000
commite46029e8c614c2f18419691baf1ff3b9fd40e95d (patch)
tree80116b58d0063e6766c9d2d449e95acfd5466c7b /engines/scumm
parenta5df07f56ae159b306e81d5920ae228be817e284 (diff)
downloadscummvm-rg350-e46029e8c614c2f18419691baf1ff3b9fd40e95d.tar.gz
scummvm-rg350-e46029e8c614c2f18419691baf1ff3b9fd40e95d.tar.bz2
scummvm-rg350-e46029e8c614c2f18419691baf1ff3b9fd40e95d.zip
added option to allow control digital imuse tempo callback. it's related to volume fading, lip sync quality and platform resource costs.
svn-id: r44374
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/scumm.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 74fa7ab9a3..bced8a784d 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1236,7 +1236,10 @@ void ScummEngine_v7::setupScumm() {
else
_smushFrameRate = (_game.id == GID_FT) ? 10 : 12;
- _musicEngine = _imuseDigital = new IMuseDigital(this, _mixer, 10);
+ int dimuseTempo = CLIP(ConfMan.getInt("dimuse_tempo"), 10, 100);
+ ConfMan.setInt("dimuse_tempo", dimuseTempo);
+ ConfMan.flushToDisk();
+ _musicEngine = _imuseDigital = new IMuseDigital(this, _mixer, dimuseTempo);
ScummEngine::setupScumm();