Only allocate scale buffer when using FF

svn-id: r21956
This commit is contained in:
Travis Howell 2006-04-17 00:35:38 +00:00
parent 632185fb7e
commit 30645d5e05

View File

@ -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();