From 6024c80f147ce275413332323c2de8db6095c82b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 27 Sep 2002 23:27:14 +0000 Subject: added (currently completly useless) launcher dialog svn-id: r5024 --- backends/sdl/sdl-common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/sdl') diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 4808515490..45c25acdd0 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -70,7 +70,7 @@ void OSystem_SDL_Common::set_timer(int timer, int (*callback)(int)) { } 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 @@ OSystem_SDL_Common::~OSystem_SDL_Common() 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; -- cgit v1.2.3