aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2003-07-20 15:31:47 +0000
committerTravis Howell2003-07-20 15:31:47 +0000
commita4b5891dd15b85fbdca322e88cea19cddf652cdc (patch)
treed8315caa08565e227a967264c25e12a8fb7b2199 /simon
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 'simon')
-rw-r--r--simon/simon.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 3358267dfb..56be85d26c 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -458,6 +458,9 @@ SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst)
_language = detector->_language;
_noSubtitles = detector->_noSubtitles;
+ // FIXME Use auto dirty rects cleanup code to reduce CPU usage
+ _system->property(OSystem::PROP_WANT_RECT_OPTIM,0);
+
// Override global scaler with any game-specific define
if (g_config->get("gfx_mode")) {
prop.gfx_mode = detector->parseGraphicsMode(g_config->get("gfx_mode"));