[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.50,1.51

Max Horn fingolfin at users.sourceforge.net
Tue May 20 03:50:02 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv32331

Modified Files:
	sdl-common.cpp 
Log Message:
init _paletteDirtyStart/_paletteDirtyEnd to 0

Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- sdl-common.cpp	18 May 2003 02:40:54 -0000	1.50
+++ sdl-common.cpp	20 May 2003 10:49:05 -0000	1.51
@@ -103,7 +103,10 @@
 	_cdrom(0), _dirty_checksums(0),
 	_mouseVisible(false), _mouseDrawn(false), _mouseData(0),
 	_mouseHotspotX(0), _mouseHotspotY(0),
-	_currentShakePos(0), _newShakePos(0) {
+	_currentShakePos(0), _newShakePos(0),
+	_paletteDirtyStart(0), _paletteDirtyEnd(0),
+	_mutex(0) {
+
 	// allocate palette storage
 	_currentPalette = (SDL_Color *)calloc(sizeof(SDL_Color), 256);
 
@@ -112,8 +115,6 @@
 
 	// reset mouse state
 	memset(&km, 0, sizeof(km));
-	
-	_mutex = 0;
 }
 
 OSystem_SDL_Common::~OSystem_SDL_Common() {





More information about the Scummvm-git-logs mailing list