mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
Only allocate scale buffer when using FF
svn-id: r21956
This commit is contained in:
parent
632185fb7e
commit
30645d5e05
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user