aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-05-21 00:27:41 +0000
committerEugene Sandulenko2005-05-21 00:27:41 +0000
commit50db5af186ce07e5ae9433d241638e2dea930542 (patch)
treecdd540d72311b99da352e444c1d64903ca837f6d
parentd00c990808fa3fcec1df926771a70ed9bdf8dfca (diff)
downloadscummvm-rg350-50db5af186ce07e5ae9433d241638e2dea930542.tar.gz
scummvm-rg350-50db5af186ce07e5ae9433d241638e2dea930542.tar.bz2
scummvm-rg350-50db5af186ce07e5ae9433d241638e2dea930542.zip
Fix samnmax-alt target. Actually now it is obsolete.
Game with samnimax.sm0 always detected as 'samnmax' because there is no MD5 difference and thus made detected target unrunnable. Now both for .000 and .sm0 target 'samnmax' is properly detected and used. svn-id: r18197
-rw-r--r--scumm/scumm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 4acc911889..7596feab47 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -175,8 +175,9 @@ static const ScummGameSettings scumm_settings[] = {
{"samnmax", "Sam & Max", GID_SAMNMAX, 6, 0, /*MDT_PCSPK |*/ MDT_ADLIB | MDT_NATIVE,
GF_USE_KEY, Common::kPlatformPC, 0, 0},
+ // This target is obsolete now. Kept here only for compatibility
{"samnmax-alt", "Sam & Max (alt)", GID_SAMNMAX, 6, 0, /*MDT_PCSPK |*/ MDT_ADLIB | MDT_NATIVE,
- GF_USE_KEY, Common::kPlatformPC, "samnmax", "samnmax.sm0"},
+ GF_USE_KEY, Common::kPlatformPC, "samnmax", "samnmax.000"},
{"samnmaxMac", "Sam & Max (Mac)", GID_SAMNMAX, 6, 0, /*MDT_PCSPK |*/ MDT_ADLIB | MDT_NATIVE,
GF_USE_KEY, Common::kPlatformMacintosh, "samnmax", "Sam & Max Data"},
{"samdemo", "Sam & Max (Demo)", GID_SAMNMAX, 6, 0, /*MDT_PCSPK |*/ MDT_ADLIB | MDT_NATIVE,
@@ -646,6 +647,7 @@ static SubstResFileNames substResFileNameTable[] = {
{ "racedemo", "500demo", kGenPC},
{ "racedemo", "RaceDemo", kGenMac },
{ "samnmax", "ramnmax", kGenPC }, // Used in some releases of Russian Sam'n'Max
+ { "samnmax.000", "samnmax.sm0", kGenAsIs }, // Fixes MD5 detection
{ "SamsFunShop", "Sam's FunShop", kGenMac },
{ "sf2-demo", "Spy Fox 2 - Demo", kGenMac },
{ "sf2-demo", "sf2demo", kGenPC },