[Scummvm-cvs-logs] SF.net SVN: scummvm: [21956] scummvm/trunk/engines/simon/simon.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Sun Apr 16 17:36:13 CEST 2006
Revision: 21956
Author: kirben
Date: 2006-04-16 17:35:38 -0700 (Sun, 16 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21956&view=rev
Log Message:
-----------
Only allocate scale buffer when using FF
Modified Paths:
--------------
scummvm/trunk/engines/simon/simon.cpp
Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp 2006-04-17 00:34:21 UTC (rev 21955)
+++ scummvm/trunk/engines/simon/simon.cpp 2006-04-17 00:35:38 UTC (rev 21956)
@@ -3483,7 +3483,8 @@
_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();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list