diff options
author | Norbert Lange | 2009-08-04 20:27:25 +0000 |
---|---|---|
committer | Norbert Lange | 2009-08-04 20:27:25 +0000 |
commit | 139fa6ff1342d357c0f460db1af899a17ecbcd69 (patch) | |
tree | 404fdb3f27861b92968a5f9661d7f14f2fc6ff46 | |
parent | 28210abe7795944f66cc6da09cec44ec2c3d1ba7 (diff) | |
download | scummvm-rg350-139fa6ff1342d357c0f460db1af899a17ecbcd69.tar.gz scummvm-rg350-139fa6ff1342d357c0f460db1af899a17ecbcd69.tar.bz2 scummvm-rg350-139fa6ff1342d357c0f460db1af899a17ecbcd69.zip |
remove a former workaround for Amiga MI
svn-id: r43055
-rw-r--r-- | engines/scumm/scumm.cpp | 13 | ||||
-rw-r--r-- | engines/scumm/scumm.h | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 99f9c8b083..abf9848451 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -279,7 +279,6 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr) _useTalkAnims = false; _defaultTalkDelay = 0; _musicType = MDT_NONE; - _tempMusic = 0; _saveSound = 0; memset(_extraBoxFlags, 0, sizeof(_extraBoxFlags)); memset(_scaleSlots, 0, sizeof(_scaleSlots)); @@ -1266,7 +1265,6 @@ void ScummEngine::setupCostumeRenderer() { void ScummEngine::resetScumm() { int i; - _tempMusic = 0; debug(9, "resetScumm"); if (_game.version == 0) { @@ -1881,17 +1879,6 @@ void ScummEngine::scummLoop(int delta) { if (_musicEngine) { // The music engine generates the timer data for us. VAR(VAR_MUSIC_TIMER) = _musicEngine->getMusicTimer(); - } else { - // Used for Money Island 1 (Amiga) - // TODO: The music delay (given in milliseconds) might have to be tuned a little - // to get it correct for all games. Without the ability to watch/listen to the - // original games, I can't do that myself. - const int MUSIC_DELAY = 350; - _tempMusic += delta * 1000 / 60; // Convert delta to milliseconds - if (_tempMusic >= MUSIC_DELAY) { - _tempMusic -= MUSIC_DELAY; - VAR(VAR_MUSIC_TIMER) += 1; - } } } diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h index 8ce76c4184..4ed8cf57eb 100644 --- a/engines/scumm/scumm.h +++ b/engines/scumm/scumm.h @@ -1127,7 +1127,6 @@ protected: bool _haveActorSpeechMsg; bool _useTalkAnims; uint16 _defaultTalkDelay; - int _tempMusic; int _saveSound; bool _native_mt32; bool _enable_gs; |