diff options
author | Eugene Sandulenko | 2010-06-15 10:51:10 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:51:10 +0000 |
commit | a8a44a07d15aa3012ca27b38db3c702c3a40b0a3 (patch) | |
tree | 231b0ace6cb517bbe113623b17f98d32451befd4 /engines | |
parent | 9d4d191baa0eafcdd470f33bd589e204bd8e5863 (diff) | |
download | scummvm-rg350-a8a44a07d15aa3012ca27b38db3c702c3a40b0a3.tar.gz scummvm-rg350-a8a44a07d15aa3012ca27b38db3c702c3a40b0a3.tar.bz2 scummvm-rg350-a8a44a07d15aa3012ca27b38db3c702c3a40b0a3.zip |
SCI: Fix timer.
installTimerProc requires interval specified in milliseconds,
not microseconds. Correct palVary method accordingly.
svn-id: r49772
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp index f9d320122b..d28fb2ada1 100644 --- a/engines/sci/graphics/palette.cpp +++ b/engines/sci/graphics/palette.cpp @@ -455,7 +455,7 @@ void GfxPalette::startPalVary(uint16 paletteId, uint16 ticks) { _palVaryId = paletteId; _palVaryStart = g_system->getMillis(); _palVaryEnd = _palVaryStart + ticks * 1000 / 60; - g_sci->getTimerManager()->installTimerProc(&palVaryCallback, 1000 / 60, this); + g_sci->getTimerManager()->installTimerProc(&palVaryCallback, 1000000 / 60, this); } void GfxPalette::togglePalVary(bool pause) { |