aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-14 09:47:53 +0000
committerMax Horn2003-05-14 09:47:53 +0000
commit05c44e606ecda344801adb957aebee5160a35f2e (patch)
tree1aa3b43859f0d1ea63d146b29de410b31748b6e0 /scumm/gfx.cpp
parentbb3e596951ad2140092ab01977ac1b2e54567d1b (diff)
downloadscummvm-rg350-05c44e606ecda344801adb957aebee5160a35f2e.tar.gz
scummvm-rg350-05c44e606ecda344801adb957aebee5160a35f2e.tar.bz2
scummvm-rg350-05c44e606ecda344801adb957aebee5160a35f2e.zip
various V8 tweaks
svn-id: r7494
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index d4ce3168d5..763740765f 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -203,7 +203,7 @@ void Scumm::getGraphicsPerformance() {
initScreens(0, 0, _screenWidth, _screenHeight);
}
- if (!(_features & GF_SMALL_HEADER)) // Variable is reserved for game scripts in earlier games
+ if (VAR_PERFORMANCE_1 != 0xFF) // Variable is reserved for game scripts in earlier games
VAR(VAR_PERFORMANCE_1) = 0;
for (i = 10; i != 0; i--) {
@@ -211,7 +211,7 @@ void Scumm::getGraphicsPerformance() {
drawDirtyScreenParts();
}
- if (!(_features & GF_SMALL_HEADER)) // Variable is reserved for game scripts in earlier games
+ if (VAR_PERFORMANCE_2 != 0xFF) // Variable is reserved for game scripts in earlier games
VAR(VAR_PERFORMANCE_2) = 0;
if (_features & GF_AFTER_V7)