diff -ur ScummVM-cvs20030124/scummvm/common/timer.cpp ScummVM-cvs20030124+hack/scummvm/common/timer.cpp
old
|
new
|
|
48 | 48 | if (_timerRunning) { |
49 | 49 | _lastTime = _thisTime; |
50 | 50 | _thisTime = _engine->_system->get_msecs(); |
51 | | interval = _thisTime - _lastTime; |
| 51 | interval = 1000 * (_thisTime - _lastTime); |
52 | 52 | |
53 | 53 | for (l = 0; l < MAX_TIMERS; l++) { |
54 | 54 | if ((_timerSlots[l].procedure) && (_timerSlots[l].interval > 0)) { |
diff -ur ScummVM-cvs20030124/scummvm/scumm/imuse_digi.cpp ScummVM-cvs20030124+hack/scummvm/scumm/imuse_digi.cpp
old
|
new
|
|
44 | 44 | _channel[l]._initialized = false; |
45 | 45 | } |
46 | 46 | _scumm->_mixer->beginSlots(MAX_DIGITAL_CHANNELS + 1); |
47 | | _scumm->_timer->installProcedure(imus_digital_handler, 200); |
| 47 | _scumm->_timer->installProcedure(imus_digital_handler, 200000); |
48 | 48 | _pause = false; |
49 | 49 | } |
50 | 50 | |
diff -ur ScummVM-cvs20030124/scummvm/scumm/script_v6.cpp ScummVM-cvs20030124+hack/scummvm/scumm/script_v6.cpp
old
|
new
|
|
2482 | 2482 | // } |
2483 | 2483 | uint32 speed; |
2484 | 2484 | if (strcmp((char*)getStringAddressVar(VAR_VIDEONAME), "sq3.san") == 0) |
2485 | | speed = 71; |
| 2485 | speed = 71000; |
2486 | 2486 | else { |
2487 | 2487 | if (_smushFrameRate == 0) |
2488 | 2488 | _smushFrameRate = 14; |
2489 | | speed = 1000 / _smushFrameRate; |
| 2489 | speed = 1000000 / _smushFrameRate; |
2490 | 2490 | } |
2491 | 2491 | |
2492 | 2492 | debug(1, "INSANE Arg: %d", args[1]); |
diff -ur ScummVM-cvs20030124/scummvm/scumm/script_v8.cpp ScummVM-cvs20030124+hack/scummvm/scumm/script_v8.cpp
old
|
new
|
|
1368 | 1368 | |
1369 | 1369 | warning("o8_startVideo(%s/%s)", getGameDataPath(), (char*)_scriptPointer); |
1370 | 1370 | |
1371 | | ScummRenderer * sr = new ScummRenderer(this, 83); |
| 1371 | ScummRenderer * sr = new ScummRenderer(this, 83333); |
1372 | 1372 | SmushPlayer * sp = new SmushPlayer(sr); |
1373 | 1373 | |
1374 | 1374 | if (_noSubtitles) |
diff -ur ScummVM-cvs20030124/scummvm/scumm/sound.cpp ScummVM-cvs20030124+hack/scummvm/scumm/sound.cpp
old
|
new
|
|
993 | 993 | _bundleMusicTrack = -1; |
994 | 994 | _numberSamplesBundleMusic = _scumm->_bundle->getNumberOfMusicSamplesByName(song); |
995 | 995 | _nameBundleMusic = song; |
996 | | _scumm->_timer->installProcedure(&music_handler, 1000); |
| 996 | _scumm->_timer->installProcedure(&music_handler, 1000000); |
997 | 997 | return; |
998 | 998 | } |
999 | 999 | if (strcmp(_nameBundleMusic, song) != 0) { |
… |
… |
|
1376 | 1376 | |
1377 | 1377 | _scumm->_timer->releaseProcedure(&cd_timer_handler); |
1378 | 1378 | _cd_timer_value = _scumm->_vars[_scumm->VAR_MI1_TIMER]; |
1379 | | _scumm->_timer->installProcedure(&cd_timer_handler, timer_interval); |
| 1379 | _scumm->_timer->installProcedure(&cd_timer_handler, 1000 * timer_interval); |
1380 | 1380 | } |
1381 | 1381 | |
1382 | 1382 | void Sound::stopCDTimer() |