aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-13 21:09:10 +0000
committerMartin Kiewitz2010-08-13 21:09:10 +0000
commitc09a968fc021a8ba58c6746680ab5bc5183e1d17 (patch)
tree4632c26a06e735e163c66e9ac3f8fa9829f7013c /engines/sci
parentda543ce36c8d84b6c89ec6ef6ba980fb44eca33c (diff)
downloadscummvm-rg350-c09a968fc021a8ba58c6746680ab5bc5183e1d17.tar.gz
scummvm-rg350-c09a968fc021a8ba58c6746680ab5bc5183e1d17.tar.bz2
scummvm-rg350-c09a968fc021a8ba58c6746680ab5bc5183e1d17.zip
SCI: adding switch to sci1mid for lsl1/spanish
makes it work, bug #3043270, added FIXME svn-id: r52071
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/resource.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 17dc7171dd..fe8922b852 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -2051,6 +2051,15 @@ void ResourceManager::detectSciVersion() {
s_sciVersion = SCI_VERSION_1_1;
return;
}
+ // FIXME: this is really difficult, lsl1 spanish has map/vol sci1late
+ // and the only current detection difference is movecounttype which
+ // is increment here, but ignore for all the regular sci1late games
+ // the problem is, we dont have access to that detection till later
+ // so maybe (part of?) that detection should get moved in here
+ if ((g_sci->getGameId() == GID_LSL1) && (g_sci->getLanguage() == Common::ES_ESP)) {
+ s_sciVersion = SCI_VERSION_1_MIDDLE;
+ return;
+ }
s_sciVersion = SCI_VERSION_1_LATE;
return;
case kResVersionSci11: