aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-01-19 19:21:31 +0000
committerMatthew Hoops2010-01-19 19:21:31 +0000
commit3738507d7fac1b9a349e658e59eb6532a63fa9c5 (patch)
tree15651f9d67458986e36301bee40cb171f40123fb /engines/mohawk/myst.cpp
parent425d0f7da3306487d2964f57dba1bac5c28938e7 (diff)
downloadscummvm-rg350-3738507d7fac1b9a349e658e59eb6532a63fa9c5.tar.gz
scummvm-rg350-3738507d7fac1b9a349e658e59eb6532a63fa9c5.tar.bz2
scummvm-rg350-3738507d7fac1b9a349e658e59eb6532a63fa9c5.zip
Add support for the flyby videos in Myst ME Macintosh.
svn-id: r47388
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r--engines/mohawk/myst.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index cf9837043f..753ab83b7b 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -118,6 +118,10 @@ static const char *mystFiles[] = {
// qtw/myst/libelev.mov: libup.mov is basically the same with sound
Common::String MohawkEngine_Myst::wrapMovieFilename(Common::String movieName, uint16 stack) {
+ // The Macintosh release of Myst ME stores its videos in a different folder
+ if ((getFeatures() & GF_ME) && getPlatform() == Common::kPlatformMacintosh)
+ return Common::String("CD Data/m/") + movieName + ".mov";
+
const char* prefix;
switch (stack) {
@@ -151,9 +155,6 @@ Common::String MohawkEngine_Myst::wrapMovieFilename(Common::String movieName, ui
break;
}
- if ((getFeatures() & GF_ME) && getPlatform() == Common::kPlatformMacintosh)
- return Common::String("CD Data/m/") + movieName + ".mov";
-
return Common::String("qtw/") + prefix + movieName + ".mov";
}