aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2010-08-08 00:44:56 +0000
committerSven Hesse2010-08-08 00:44:56 +0000
commit61739bc180731c22ee8008d7f47bf3f399fed358 (patch)
tree0489a94bacfc9734dd812705ecd241c8d2986533
parent2296aad042aad1c9983b4a9bf2e187912c361407 (diff)
downloadscummvm-rg350-61739bc180731c22ee8008d7f47bf3f399fed358.tar.gz
scummvm-rg350-61739bc180731c22ee8008d7f47bf3f399fed358.tar.bz2
scummvm-rg350-61739bc180731c22ee8008d7f47bf3f399fed358.zip
GOB: Fix video workaround detection
svn-id: r51872
-rw-r--r--engines/gob/videoplayer.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index fda5e4de2f..30a22398da 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -117,12 +117,12 @@ int VideoPlayer::openVideo(bool primary, const Common::String &file, Properties
// displayed while a video is playing.
_noCursorSwitch = false;
if (primary && (_vm->getGameType() == kGameTypeLostInTime)) {
- if (!file.compareToIgnoreCase("PORTA03.IMD") ||
- !file.compareToIgnoreCase("PORTA03A.IMD") ||
- !file.compareToIgnoreCase("CALE1.IMD") ||
- !file.compareToIgnoreCase("AMIL2.IMD") ||
- !file.compareToIgnoreCase("AMIL3B.IMD") ||
- !file.compareToIgnoreCase("DELB.IMD"))
+ if (!file.compareToIgnoreCase("PORTA03") ||
+ !file.compareToIgnoreCase("PORTA03A") ||
+ !file.compareToIgnoreCase("CALE1") ||
+ !file.compareToIgnoreCase("AMIL2") ||
+ !file.compareToIgnoreCase("AMIL3B") ||
+ !file.compareToIgnoreCase("DELB"))
_noCursorSwitch = true;
}
@@ -130,7 +130,7 @@ int VideoPlayer::openVideo(bool primary, const Common::String &file, Properties
// This is a bug in video, so we work around it.
_woodruffCohCottWorkaround = false;
if (primary && (_vm->getGameType() == kGameTypeWoodruff)) {
- if (!file.compareToIgnoreCase("SQ32-03.VMD"))
+ if (!file.compareToIgnoreCase("SQ32-03"))
_woodruffCohCottWorkaround = true;
}