aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2012-01-10 22:15:04 -0500
committerWillem Jan Palenstijn2012-02-23 22:48:18 +0100
commit66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b (patch)
tree37ee982ed7b485704bdfc0176d228bbeb5f522f1 /engines
parentee35d32a362d58891fedff9843867397f2d4497b (diff)
downloadscummvm-rg350-66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b.tar.gz
scummvm-rg350-66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b.tar.bz2
scummvm-rg350-66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b.zip
VIDEO: Make PSX streams calculate frame timing solely from CD speed
BS2 videos now play at the proper rate and BS1 videos have improved a/v sync.
Diffstat (limited to 'engines')
-rw-r--r--engines/sword1/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index 9e190e01d0..a1ace0f331 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -410,8 +410,8 @@ MoviePlayer *makeMoviePlayer(uint32 id, SwordEngine *vm, Text *textMan, ResMan *
if (Common::File::exists(filename)) {
#ifdef USE_RGB_COLOR
- // All BS1 PSX videos seem to be 15fps
- Video::VideoDecoder *psxDecoder = new Video::PSXStreamDecoder(15);
+ // All BS1 PSX videos run the videos at 2x speed
+ Video::VideoDecoder *psxDecoder = new Video::PSXStreamDecoder(Video::PSXStreamDecoder::kCD2x);
return new MoviePlayer(vm, textMan, resMan, snd, system, bgSoundHandle, psxDecoder, kVideoDecoderPSX);
#else
GUI::MessageDialog dialog(Common::String::format(_("PSX stream cutscene '%s' cannot be played in paletted mode"), filename.c_str()), _("OK"));