aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/text/subtitles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/text/subtitles.cpp b/engines/zvision/text/subtitles.cpp
index d549e2a0c6..ffc9e2b808 100644
--- a/engines/zvision/text/subtitles.cpp
+++ b/engines/zvision/text/subtitles.cpp
@@ -71,8 +71,8 @@ Subtitle::Subtitle(ZVision *engine, const Common::String &subname, bool upscaleT
if (sb <= (int32)_subs.size()) {
if (upscaleToHires) {
// Convert from 15FPS (AVI) to 29.97FPS (VOB)
- st = st * 29.97 / 15;
- en = en * 29.97 / 15;
+ st = st * 2997 / 1500;
+ en = en * 2997 / 1500;
}
_subs[sb].start = st;
_subs[sb].stop = en;