aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/flic_decoder.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-07-30 20:35:09 +0000
committerMatthew Hoops2010-07-30 20:35:09 +0000
commit8e705bb2e26f0900416e5649b869ee43706eeee5 (patch)
tree5f2926f5e3c2f90c5cf999606d941219090c20d0 /graphics/video/flic_decoder.h
parent75b5ac38fbd2c75fab5d0f794a44ec906ee48c05 (diff)
downloadscummvm-rg350-8e705bb2e26f0900416e5649b869ee43706eeee5.tar.gz
scummvm-rg350-8e705bb2e26f0900416e5649b869ee43706eeee5.tar.bz2
scummvm-rg350-8e705bb2e26f0900416e5649b869ee43706eeee5.zip
VIDEO: Fix FLIC looping
Thanks to salty-horse for finding this. Also, use Common::Rational directly to hold the frame rate to avoid rounding. svn-id: r51516
Diffstat (limited to 'graphics/video/flic_decoder.h')
-rw-r--r--graphics/video/flic_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/flic_decoder.h b/graphics/video/flic_decoder.h
index 60d68889a2..60f4e3472c 100644
--- a/graphics/video/flic_decoder.h
+++ b/graphics/video/flic_decoder.h
@@ -91,7 +91,7 @@ private:
Common::SeekableReadStream *_fileStream;
Surface *_surface;
uint32 _frameCount;
- uint32 _frameRate;
+ Common::Rational _frameRate;
Common::List<Common::Rect> _dirtyRects;
};