aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorMax Horn2002-09-27 23:27:14 +0000
committerMax Horn2002-09-27 23:27:14 +0000
commit6024c80f147ce275413332323c2de8db6095c82b (patch)
tree86d42eb89c5866fd6418c867503521cc43643ddb /backends/sdl
parente674b9e2e23ef1aa21b0be7c682dd77ceb591223 (diff)
downloadscummvm-rg350-6024c80f147ce275413332323c2de8db6095c82b.tar.gz
scummvm-rg350-6024c80f147ce275413332323c2de8db6095c82b.tar.bz2
scummvm-rg350-6024c80f147ce275413332323c2de8db6095c82b.zip
added (currently completly useless) launcher dialog
svn-id: r5024
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl-common.cpp4
1 files changed, 2 insertions, 2 deletions
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;