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

Max Horn fingolfin at users.sourceforge.net
Fri Sep 27 16:28:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory usw-pr-cvs1:/tmp/cvs-serv14625/backends/sdl

Modified Files:
	sdl-common.cpp 
Log Message:
added (currently completly useless) launcher dialog

Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- sdl-common.cpp	27 Sep 2002 13:05:53 -0000	1.6
+++ sdl-common.cpp	27 Sep 2002 23:27:13 -0000	1.7
@@ -70,7 +70,7 @@
 }
 
 OSystem_SDL_Common::OSystem_SDL_Common()
-	: sdl_screen(0), SCREEN_WIDTH(0), SCREEN_HEIGHT(0),
+	: sdl_screen(0), cdrom(0), SCREEN_WIDTH(0), SCREEN_HEIGHT(0),
 	_dirty_checksums(0), _current_shake_pos(0), _new_shake_pos(0)
 {
 	// allocate palette storage
@@ -91,7 +91,7 @@
 void OSystem_SDL_Common::init_size(uint w, uint h) {
 
 	// Avoid redundant res changes
-	if (w == SCREEN_WIDTH && h == SCREEN_HEIGHT)
+	if ((int)w == SCREEN_WIDTH && (int)h == SCREEN_HEIGHT)
 		return;
 
 	SCREEN_WIDTH = w;





More information about the Scummvm-git-logs mailing list