diff options
author | Travis Howell | 2011-08-08 14:46:12 +1000 |
---|---|---|
committer | Travis Howell | 2011-08-08 14:46:12 +1000 |
commit | 99d5087918d667b8531dabab6e4c989c03323c51 (patch) | |
tree | fa3b1b36045cb00a38765eddfd7b4833ebe024a9 | |
parent | c87ff89b4aceb4494466c4277614346376a2be0c (diff) | |
download | scummvm-rg350-99d5087918d667b8531dabab6e4c989c03323c51.tar.gz scummvm-rg350-99d5087918d667b8531dabab6e4c989c03323c51.tar.bz2 scummvm-rg350-99d5087918d667b8531dabab6e4c989c03323c51.zip |
SCUMM: Set default Benchmark speed in Moonbase Commander, based on the original Moonbase.ini.
-rw-r--r-- | engines/scumm/he/script_v80he.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp index 7970d7806f..9711f6415b 100644 --- a/engines/scumm/he/script_v80he.cpp +++ b/engines/scumm/he/script_v80he.cpp @@ -171,7 +171,10 @@ void ScummEngine_v80he::o80_readConfigFile() { case 6: // number ConfFile.getKey((const char *)option, (const char *)section, entry); - push(atoi(entry.c_str())); + if (!strcmp((char *)option, "Benchmark")) + push(2); + else + push(atoi(entry.c_str())); break; case 77: // HE 100 case 7: // string |