aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
diff options
context:
space:
mode:
authorMatthew Hoops2012-07-21 17:31:00 -0400
committerMatthew Hoops2012-07-21 17:31:00 -0400
commit24c97b89138190d211b1f19d5575c9029c0329b2 (patch)
treeba296e58377c28a71bfe16eb9745ae3d55da9cb1 /engines/sword2
parent5cdb0f71a499250d36d79d0f8ba85ff2d370f9aa (diff)
downloadscummvm-rg350-24c97b89138190d211b1f19d5575c9029c0329b2.tar.gz
scummvm-rg350-24c97b89138190d211b1f19d5575c9029c0329b2.tar.bz2
scummvm-rg350-24c97b89138190d211b1f19d5575c9029c0329b2.zip
VIDEO: Move PSXStreamDecoder to the new VideoDecoder API
Diffstat (limited to 'engines/sword2')
-rw-r--r--engines/sword2/animation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp
index 5e3f8929e9..c1cf33ff09 100644
--- a/engines/sword2/animation.cpp
+++ b/engines/sword2/animation.cpp
@@ -99,6 +99,7 @@ bool MoviePlayer::load(const char *name) {
// Need to load here in case it fails in which case we'd need
// to go back to paletted mode
if (_decoder->loadFile(filename)) {
+ ((Video::AdvancedVideoDecoder *)_decoder)->start(); // TODO: Remove after new API is complete
return true;
} else {
initGraphics(640, 480, true);