aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/simon/simon.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index dc8d56b685..5f8205b957 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -3483,7 +3483,8 @@ int SimonEngine::go() {
_backGroundBuf = (byte *)calloc(_screenWidth * _screenHeight, 1);
_frontBuf = (byte *)calloc(_screenWidth * _screenHeight, 1);
_backBuf = (byte *)calloc(_screenWidth * _screenHeight, 1);
- _sdl_buf_scaled = (byte *)calloc(_screenWidth * _screenHeight, 1);
+ if (getGameType() == GType_FF)
+ _sdl_buf_scaled = (byte *)calloc(_screenWidth * _screenHeight, 1);
allocItemHeap();
allocTablesHeap();