Add keyboard control for HE80+ games.

svn-id: r15604
This commit is contained in:
Travis Howell 2004-10-18 06:40:36 +00:00
parent a6da710923
commit 1922b330ad
5 changed files with 32 additions and 4 deletions

View file

@ -850,6 +850,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
VAR_NUM_UNK = 0xFF;
VAR_POLYGONS_ONLY = 0xFF;
VAR_WINDOWS_VERSION = 0xFF;
VAR_KEY_STATE = 0xFF;
VAR_WIZ_TCOLOR = 0xFF;
// Use g_scumm from error() ONLY
@ -1089,7 +1090,7 @@ void ScummEngine::mainInit() {
if (VAR_DEBUGMODE != 0xFF) {
// This is NOT for the Mac version of Indy3/Loom
VAR(VAR_DEBUGMODE) = _debugMode;
if (_heversion >= 80)
if (_heversion >= 80 && _debugMode)
VAR(85) = 1;
}