diff options
-rw-r--r-- | gfx.cpp | 6 | ||||
-rw-r--r-- | resource.cpp | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -32,14 +32,16 @@ void Scumm::getGraphicsPerformance() initScreens(0, 0, _realWidth, _realHeight); //ender } - _vars[VAR_PERFORMANCE_1] = 0; //_scummTimer; + if (!(_features & GF_SMALL_HEADER)) /* FIXME TEST: Enders Zak fix */ + _vars[VAR_PERFORMANCE_1] = 0; //_scummTimer; for (i = 10; i != 0; i--) { setDirtyRange(0, 0, _realHeight); //ender drawDirtyScreenParts(); } - _vars[VAR_PERFORMANCE_2] = 0; //_scummTimer; + if (!(_features & GF_SMALL_HEADER)) /* FIXME TEST: Enders Zak fix */ + _vars[VAR_PERFORMANCE_2] = 0; //_scummTimer; if (_gameId == GID_DIG) initScreens(0, 0, _realWidth, _realHeight); diff --git a/resource.cpp b/resource.cpp index d737282e0c..cc5861566e 100644 --- a/resource.cpp +++ b/resource.cpp @@ -1,4 +1,4 @@ -/* ScummVM - Scumm Interpreter +s/* ScummVM - Scumm Interpreter * Copyright (C) 2001 Ludvig Strigeus * Copyright (C) 2001/2002 The ScummVM project * @@ -461,7 +461,7 @@ void Scumm::ensureResourceLoaded(int type, int i) loadResource(type, i); - if (!(_features & GF_AFTER_V7)) + if (!(_features & GF_AFTER_V7) && !(_features & GF_SMALL_HEADER)) if (type == rtRoom && i == _roomResource) _vars[VAR_ROOM_FLAG] = 1; } |