diff options
author | Torbjörn Andersson | 2003-05-31 13:43:05 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-05-31 13:43:05 +0000 |
commit | 98986713d1c313057f63f656731f9de43ed25233 (patch) | |
tree | 91ba66c0f12491dfece2a6e0370665d501d94a4d /scumm | |
parent | 8cb9796d97be9c1c3f121b4803595b16a3c9e2fa (diff) | |
download | scummvm-rg350-98986713d1c313057f63f656731f9de43ed25233.tar.gz scummvm-rg350-98986713d1c313057f63f656731f9de43ed25233.tar.bz2 scummvm-rg350-98986713d1c313057f63f656731f9de43ed25233.zip |
Set the "machine speed" variable for V2 games. I think it's safe to assume
that modern hardware will handle the more elaborate version of the EGA Zak
intro without any problems.
svn-id: r8173
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index e78e122c58..bc5ff660b2 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -810,8 +810,13 @@ void Scumm::scummInit() { void Scumm::initScummVars() { // FIXME - if (_features & GF_AFTER_V2) + if (_features & GF_AFTER_V2) { + // This needs to be at greater than 40 to get the more + // elaborate version of the EGA Zak into. I don't know where + // else it makes any difference. + VAR(VAR_MACHINE_SPEED) = 0x7FFF; return; + } if (!(_features & GF_AFTER_V6)) VAR(VAR_V5_TALK_STRING_Y) = -0x50; |