diff options
author | Tobia Tesan | 2014-02-08 00:39:59 +0100 |
---|---|---|
committer | Tobia Tesan | 2014-10-15 21:36:45 +0200 |
commit | 7c6f9772d37e3ab7724d20c838883ee8abc2c2b3 (patch) | |
tree | d1544b5d4fa7b18dae8c2d906cd3a359c343e3af /engines/wintermute/video/video_subtitler.h | |
parent | afb3ae303461668d4807eaa047a5585a7c870adc (diff) | |
download | scummvm-rg350-7c6f9772d37e3ab7724d20c838883ee8abc2c2b3.tar.gz scummvm-rg350-7c6f9772d37e3ab7724d20c838883ee8abc2c2b3.tar.bz2 scummvm-rg350-7c6f9772d37e3ab7724d20c838883ee8abc2c2b3.zip |
WINTERMUTE: Save frames as uint rather than long
It's just as good: at 30 FPS, this allows for
2 ^ 32 / 30 / 60 = 2386093 mins, which is, I guess, a reasonable limit.
Diffstat (limited to 'engines/wintermute/video/video_subtitler.h')
-rw-r--r-- | engines/wintermute/video/video_subtitler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/video/video_subtitler.h b/engines/wintermute/video/video_subtitler.h index b369d0bff8..2940d69785 100644 --- a/engines/wintermute/video/video_subtitler.h +++ b/engines/wintermute/video/video_subtitler.h @@ -44,7 +44,7 @@ public: uint _currentSubtitle; bool loadSubtitles(const Common::String &filename, const Common::String &subtitleFile); bool display(); - bool update(long frame); + bool update(uint frame); private: Common::Array<VideoSubtitle *> _subtitles; long _lastSample; |