aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-06-21 19:07:41 +0000
committerMatthew Hoops2010-06-21 19:07:41 +0000
commit0ab7a16e452f5244d37dc0426f62b5b05d12f032 (patch)
tree46d02e68f5e6f57e208d8716d795889c1d2cb2a7
parent9ecbffe11aee736c0a3783358fb2640b0d6f5237 (diff)
downloadscummvm-rg350-0ab7a16e452f5244d37dc0426f62b5b05d12f032.tar.gz
scummvm-rg350-0ab7a16e452f5244d37dc0426f62b5b05d12f032.tar.bz2
scummvm-rg350-0ab7a16e452f5244d37dc0426f62b5b05d12f032.zip
Fix the Hoyle 4 (Hoyle Classic) demo's top offset. It currently errors out later from lacking a selector (static selector problem).
svn-id: r50118
-rw-r--r--engines/sci/detection_tables.h8
-rw-r--r--engines/sci/graphics/ports.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h
index 2ac76578fe..bad7ccc5c3 100644
--- a/engines/sci/detection_tables.h
+++ b/engines/sci/detection_tables.h
@@ -753,7 +753,15 @@ static const struct ADGameDescription SciGameDescriptions[] = {
Common::EN_ANY, Common::kPlatformPC, 0, GUIO_NOSPEECH },
// Hoyle 4 - English DOS Demo
+ {"hoyle4", "Demo", {
+ {"resource.map", 0, "60f764020a6b788bbbe415dbc2ccb9f3", 931},
+ {"resource.000", 0, "5fe3670e3ddcd4f85c10013b5453141a", 615522},
+ {NULL, 0, NULL, 0}},
+ Common::EN_ANY, Common::kPlatformPC, ADGF_DEMO, GUIO_NOSPEECH },
+
+ // Hoyle 4 - English DOS Demo
// SCI interpreter version 1.001.200 (just a guess)
+ // Does anyone have this version? -clone2727
{"hoyle4", "Demo", {
{"resource.map", 0, "662087cb383e52e3cc4ae7ecb10e20aa", 938},
{"resource.000", 0, "24c10844792c54d476d272213cbac300", 675252},
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index a3135e7177..8ba7c57b62 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -88,7 +88,7 @@ void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *te
// Mother Goose (SCI1) uses -Nw 0 0 159 262. The game will later use SetPort so we don't need to set the other fields.
// This actually meant not skipping the first 10 pixellines in windowMgrPort
Common::String gameId = g_sci->getGameId();
- if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3" || (gameId == "mothergoose" && getSciVersion() == SCI_VERSION_1_EARLY))
+ if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3" || gameId == "hoyle4" || (gameId == "mothergoose" && getSciVersion() == SCI_VERSION_1_EARLY))
offTop = 0;
openPort(_wmgrPort);