aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTravis Howell2003-07-20 15:31:47 +0000
committerTravis Howell2003-07-20 15:31:47 +0000
commita4b5891dd15b85fbdca322e88cea19cddf652cdc (patch)
treed8315caa08565e227a967264c25e12a8fb7b2199 /backends
parent82f90bb6cf061159e5d86ef408c5e1d657088b81 (diff)
downloadscummvm-rg350-a4b5891dd15b85fbdca322e88cea19cddf652cdc.tar.gz
scummvm-rg350-a4b5891dd15b85fbdca322e88cea19cddf652cdc.tar.bz2
scummvm-rg350-a4b5891dd15b85fbdca322e88cea19cddf652cdc.zip
Use automatic dirty rect code for simon games for now to reduce CPU usage
svn-id: r9093
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/sdl-common.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp
index 1fa453e5c8..af809591fc 100644
--- a/backends/sdl/sdl-common.cpp
+++ b/backends/sdl/sdl-common.cpp
@@ -895,6 +895,10 @@ void OSystem_SDL_Common::clear_sound_proc() {
uint32 OSystem_SDL_Common::property(int param, Property *value) {
switch(param) {
+ case PROP_WANT_RECT_OPTIM:
+ _mode_flags |= DF_WANT_RECT_OPTIM;
+ break;
+
case PROP_GET_FULLSCREEN:
return _full_screen;