aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-12-27 16:40:01 +0000
committerMax Horn2003-12-27 16:40:01 +0000
commitc0cc941ea4be1190f7a046c7c36b55918e907c31 (patch)
tree861e100fe5fe286b6f4af6ff18855af4290a01cb
parent811a6d4bb8581204a465bc00c66fdb00b3475bb3 (diff)
downloadscummvm-rg350-c0cc941ea4be1190f7a046c7c36b55918e907c31.tar.gz
scummvm-rg350-c0cc941ea4be1190f7a046c7c36b55918e907c31.tar.bz2
scummvm-rg350-c0cc941ea4be1190f7a046c7c36b55918e907c31.zip
try to make it more obvious how certain timer freqs are derived
svn-id: r11974
-rw-r--r--scumm/imuse_digi.cpp2
-rw-r--r--scumm/script_v6.cpp6
-rw-r--r--scumm/script_v8.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/scumm/imuse_digi.cpp b/scumm/imuse_digi.cpp
index e82088bd79..6d730d64dc 100644
--- a/scumm/imuse_digi.cpp
+++ b/scumm/imuse_digi.cpp
@@ -672,7 +672,7 @@ IMuseDigital::IMuseDigital(ScummEngine *scumm)
_bundle = new Bundle();
- _scumm->_timer->installTimerProc(timer_handler, 40000, this);
+ _scumm->_timer->installTimerProc(timer_handler, 1000000 / 25, this);
}
IMuseDigital::~IMuseDigital() {
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 26057c800f..53b1245155 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2405,9 +2405,9 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
case 6: {
uint32 speed;
assert(getStringAddressVar(VAR_VIDEONAME));
- if (strcmp((char *)getStringAddressVar(VAR_VIDEONAME), "sq3.san") == 0)
- speed = 71000;
- else {
+ if (strcmp((char *)getStringAddressVar(VAR_VIDEONAME), "sq3.san") == 0) {
+ speed = 1000000 / 14;
+ } else {
if (_smushFrameRate == 0)
_smushFrameRate = 14;
speed = 1000000 / _smushFrameRate;
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 36cb2cfcc5..a88e65cf0c 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1244,7 +1244,7 @@ void ScummEngine_v8::o8_startVideo() {
debug(4, "o8_startVideo(%s/%s)", getGameDataPath(), (const char*)_scriptPointer);
- SmushPlayer *sp = new SmushPlayer(this, 83333);
+ SmushPlayer *sp = new SmushPlayer(this, 1000000 / 12);
sp->play((const char*)_scriptPointer, getGameDataPath());
delete sp;