[Scummvm-cvs-logs] scummvm master -> 99d5087918d667b8531dabab6e4c989c03323c51
Kirben
kirben at optusnet.com.au
Mon Aug 8 06:50:44 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
99d5087918 SCUMM: Set default Benchmark speed in Moonbase Commander, based on the original Moonbase.ini.
Commit: 99d5087918d667b8531dabab6e4c989c03323c51
https://github.com/scummvm/scummvm/commit/99d5087918d667b8531dabab6e4c989c03323c51
Author: Travis Howell (kirben at optusnet.com.au)
Date: 2011-08-07T21:46:12-07:00
Commit Message:
SCUMM: Set default Benchmark speed in Moonbase Commander, based on the original Moonbase.ini.
Changed paths:
engines/scumm/he/script_v80he.cpp
diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp
index 7970d78..9711f64 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
More information about the Scummvm-git-logs
mailing list