[Scummvm-cvs-logs] CVS: scummvm sdl.cpp,1.83,1.84

James Brown ender at users.sourceforge.net
Fri Apr 12 21:12:01 CEST 2002


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

Modified Files:
	sdl.cpp 
Log Message:
Remove Win32 dependency from sdl.cpp



Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sdl.cpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** sdl.cpp	12 Apr 2002 21:26:34 -0000	1.83
--- sdl.cpp	13 Apr 2002 04:11:18 -0000	1.84
***************
*** 565,571 ****
  		/* Call SDL update on the affected regions */
  		SDL_UpdateRects(sdl_hwscreen, num_dirty_rects, dirty_rect_list);
! 
  		if (GetAsyncKeyState(VK_SHIFT)<0)
  			printf("Update area %d pixels. %d%%\n", area, (area+(320*2)/2) / (320*2));
  	} else {
  		/* Call SDL update on the affected regions */
--- 565,572 ----
  		/* Call SDL update on the affected regions */
  		SDL_UpdateRects(sdl_hwscreen, num_dirty_rects, dirty_rect_list);
! #ifdef WIN32
  		if (GetAsyncKeyState(VK_SHIFT)<0)
  			printf("Update area %d pixels. %d%%\n", area, (area+(320*2)/2) / (320*2));
+ #endif
  	} else {
  		/* Call SDL update on the affected regions */





More information about the Scummvm-git-logs mailing list