aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/animation.cpp
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/sword1/animation.cpp
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/sword1/animation.cpp')
-rw-r--r--engines/sword1/animation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index ddafd964eb..49c5ef7312 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -189,6 +189,7 @@ bool MoviePlayer::load(uint32 id) {
// 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(g_system->getWidth(), g_system->getHeight(), true);