diff options
| author | Filippos Karapetis | 2009-05-19 19:56:53 +0000 |
|---|---|---|
| committer | Filippos Karapetis | 2009-05-19 19:56:53 +0000 |
| commit | e358b13ef96e15fc1788841633eb09b1f739cc90 (patch) | |
| tree | 080a9766958f53fb5d9291d5cd15d9a0d5edb88f /engines/sword2 | |
| parent | 4f6bc506153550a16efd02a10b0b377cce54c434 (diff) | |
| download | scummvm-rg350-e358b13ef96e15fc1788841633eb09b1f739cc90.tar.gz scummvm-rg350-e358b13ef96e15fc1788841633eb09b1f739cc90.tar.bz2 scummvm-rg350-e358b13ef96e15fc1788841633eb09b1f739cc90.zip | |
Changed calculations based on frame delay to be based on the scale of 1ms, not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand
svn-id: r40730
Diffstat (limited to 'engines/sword2')
| -rw-r--r-- | engines/sword2/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index 73877326e4..7e7d1f9acf 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -316,7 +316,7 @@ int32 DXADecoderWithSound::getAudioLag() { int32 videoTime = _videoInfo.currentFrame * frameDelay; int32 audioTime; - audioTime = (((int32) _mixer->getSoundElapsedTime(*_bgSoundHandle)) * 100); + audioTime = (int32) _mixer->getSoundElapsedTime(*_bgSoundHandle); return videoTime - audioTime; } |
