aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/detection_tables.h14
-rw-r--r--engines/sci/engine/kmisc.cpp3
2 files changed, 12 insertions, 5 deletions
diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h
index ed9d815f1f..c1c559c0ee 100644
--- a/engines/sci/detection_tables.h
+++ b/engines/sci/detection_tables.h
@@ -1076,22 +1076,30 @@ static const struct ADGameDescription SciGameDescriptions[] = {
{NULL, 0, NULL, 0}},
Common::EN_ANY, Common::kPlatformWindows, 0, GUIO_NOSPEECH },
- // King's Quest 7 - English DOS (from the King's Quest Collection)
+ // King's Quest 7 - English Windows (from the King's Quest Collection)
// Executable scanning reports "2.100.002", VERSION file reports "1.4"
{"kq7", "", {
{"resource.map", 0, "2be9ab94429c721af8e05c507e048a15", 18697},
{"resource.000", 0, "eb63ea3a2c2469dc2d777d351c626404", 203882535},
{NULL, 0, NULL, 0}},
- Common::EN_ANY, Common::kPlatformPC, 0, GUIO_NOSPEECH },
+ Common::EN_ANY, Common::kPlatformWindows, 0, GUIO_NOSPEECH },
// King's Quest 7 - English DOS (from FRG)
- // SCI interpreter version 2.100.002
+ // SCI interpreter version 2.100.002, VERSION file reports "2.00b"
{"kq7", "", {
{"resource.map", 0, "8676b0fbbd7362989a029fe72fea14c6", 18709},
{"resource.000", 0, "51c1ead1163e19a2de8f121c39df7a76", 200764100},
{NULL, 0, NULL, 0}},
Common::EN_ANY, Common::kPlatformPC, 0, GUIO_NOSPEECH },
+ // King's Quest 7 - English Windows (from FRG)
+ // SCI interpreter version 2.100.002, VERSION file reports "2.00b"
+ {"kq7", "", {
+ {"resource.map", 0, "8676b0fbbd7362989a029fe72fea14c6", 18709},
+ {"resource.000", 0, "51c1ead1163e19a2de8f121c39df7a76", 200764100},
+ {NULL, 0, NULL, 0}},
+ Common::EN_ANY, Common::kPlatformWindows, 0, GUIO_NOSPEECH },
+
// King's Quest 7 - German Windows (supplied by markcoolio in bug report #2727402)
// SCI interpreter version 2.100.002
{"kq7", "", {
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index 50be5509d7..bd1cf587ea 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -320,8 +320,6 @@ reg_t kPlatform(EngineState *s, int argc, reg_t *argv) {
uint16 operation = (argc == 0) ? 0 : argv[0].toUint16();
switch (operation) {
- case kPlatformUnk0:
- return make_reg(0, !isWindows);
case kPlatformCDSpeed:
// TODO: Returns CD Speed?
warning("STUB: kPlatform(CDSpeed)");
@@ -333,6 +331,7 @@ reg_t kPlatform(EngineState *s, int argc, reg_t *argv) {
// TODO: Some sort of CD check?
warning("STUB: kPlatform(CDCheck)");
break;
+ case kPlatformUnk0:
case kPlatformGetPlatform:
return make_reg(0, (isWindows) ? kSciPlatformWindows : kSciPlatformDOS);
case kPlatformUnk5: