diff options
author | Robert Göffringmann | 2003-12-22 23:21:28 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-12-22 23:21:28 +0000 |
commit | 2df01e0abbbf9612a9ded5ac41cd3536ae4d7ff6 (patch) | |
tree | 3ebb4aa23d9330c0209eaf14782e2b5adcb3e171 /sword1/sword1.cpp | |
parent | 5b38b9ccbe7ec5c622af89ad64165949c2755572 (diff) | |
download | scummvm-rg350-2df01e0abbbf9612a9ded5ac41cd3536ae4d7ff6.tar.gz scummvm-rg350-2df01e0abbbf9612a9ded5ac41cd3536ae4d7ff6.tar.bz2 scummvm-rg350-2df01e0abbbf9612a9ded5ac41cd3536ae4d7ff6.zip |
fixed screen and music fading
svn-id: r11861
Diffstat (limited to 'sword1/sword1.cpp')
-rw-r--r-- | sword1/sword1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index a41f5dd6db..783ecf7558 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -1090,14 +1090,14 @@ uint8 SwordEngine::mainLoop(void) { _screen->draw(); _mouse->animate(); - uint32 newTime = _system->get_msecs(); - _sound->engine(); _screen->updateScreen(); _menu->refresh(MENU_TOP); _menu->refresh(MENU_BOT); + uint32 newTime = _system->get_msecs(); + if (newTime - frameTime < 80) delay(80 - (newTime - frameTime)); else |