aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 308c627984..ecb50c0a82 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -806,8 +806,6 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
_doEffect = false;
memset(&_flashlight, 0, sizeof(_flashlight));
- _compositeBuf = 0;
- _herculesBuf = 0;
_bompActorPalettePtr = NULL;
_shakeEnabled = false;
_shakeFrame = 0;
@@ -1128,6 +1126,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
_compositeBuf = (byte *)malloc(_screenWidth * _screenHeight);
+ _herculesBuf = 0;
if (_renderMode == Common::kRenderHercA || _renderMode == Common::kRenderHercG) {
_herculesBuf = (byte *)malloc(Common::kHercW * Common::kHercH);
}