aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_subtitler.h
diff options
context:
space:
mode:
authorTobia Tesan2014-02-08 00:39:59 +0100
committerTobia Tesan2014-10-15 21:36:45 +0200
commit7c6f9772d37e3ab7724d20c838883ee8abc2c2b3 (patch)
treed1544b5d4fa7b18dae8c2d906cd3a359c343e3af /engines/wintermute/video/video_subtitler.h
parentafb3ae303461668d4807eaa047a5585a7c870adc (diff)
downloadscummvm-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.h2
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;