aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/video
diff options
context:
space:
mode:
authorFilippos Karapetis2012-06-15 12:04:28 +0300
committerFilippos Karapetis2012-06-15 12:24:20 +0300
commit23ed0f1dc89a8557692928785bf3da355e36bc8e (patch)
tree9111e6d896c675bad90de4d316fe311f96b15482 /engines/sci/video
parent9aaefbd53665cd03359ad692d64e3fc437f97202 (diff)
downloadscummvm-rg350-23ed0f1dc89a8557692928785bf3da355e36bc8e.tar.gz
scummvm-rg350-23ed0f1dc89a8557692928785bf3da355e36bc8e.tar.bz2
scummvm-rg350-23ed0f1dc89a8557692928785bf3da355e36bc8e.zip
SCI: Skip playing of the unsupported robot video 1003 in RAMA
Diffstat (limited to 'engines/sci/video')
-rw-r--r--engines/sci/video/robot_decoder.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/video/robot_decoder.cpp b/engines/sci/video/robot_decoder.cpp
index 95b3c2abc1..8ffcecc339 100644
--- a/engines/sci/video/robot_decoder.cpp
+++ b/engines/sci/video/robot_decoder.cpp
@@ -87,6 +87,13 @@ RobotDecoder::~RobotDecoder() {
}
bool RobotDecoder::load(GuiResourceId id) {
+ // TODO: RAMA's robot 1003 cannot be played (shown at the menu screen) -
+ // its drawn at odd coordinates. SV can't play it either (along with some
+ // others), so it must be some new functionality added in RAMA's robot
+ // videos. Skip it for now.
+ if (g_sci->getGameId() == GID_RAMA && id == 1003)
+ return false;
+
Common::String fileName = Common::String::format("%d.rbt", id);
Common::SeekableReadStream *stream = SearchMan.createReadStreamForMember(fileName);