[Scummvm-cvs-logs] CVS: scummvm sdl.cpp,1.55,1.56

James Brown ender at users.sourceforge.net
Sun Mar 24 09:03:04 CET 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv29827

Modified Files:
	sdl.cpp 
Log Message:
Initial variable commit, Known issues:
	Speed issues, waitForMessage freeze and initial palette crash.
	


Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sdl.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** sdl.cpp	24 Mar 2002 16:52:59 -0000	1.55
--- sdl.cpp	24 Mar 2002 17:02:31 -0000	1.56
***************
*** 65,69 ****
  	SDL_Color colors[256];
  	int first = s->_palDirtyMin;
! 	int num = (s->_palDirtyMax) - first + 1;
  	int i;
  	byte *data = s->_currentPalette;
--- 65,69 ----
  	SDL_Color colors[256];
  	int first = s->_palDirtyMin;
! 	int num = s->_palDirtyMax - first + 1;
  	int i;
  	byte *data = s->_currentPalette;
***************
*** 1059,1066 ****
  
  	memset(scumm->_colorCycle, 0, sizeof(scumm->_colorCycle));
- /* */
- 
- 
  
  
  	scumm->_fullScreen = detecter._fullScreen;
--- 1059,1070 ----
  
  	memset(scumm->_colorCycle, 0, sizeof(scumm->_colorCycle));
  
+ 	scumm->_CLUT_offs = 0;
+ 	scumm->_ENCD_offs = 0;
+ 	scumm->_EPAL_offs = 0;
+ 	scumm->_IM00_offs = 0;
+ 	scumm->_PALS_offs = 0;
+ 	
+ /* */
  
  	scumm->_fullScreen = detecter._fullScreen;





More information about the Scummvm-git-logs mailing list