Use automatic dirty rect code for simon games for now to reduce CPU usage

svn-id: r9093
This commit is contained in:
Travis Howell 2003-07-20 15:31:47 +00:00
parent 82f90bb6cf
commit a4b5891dd1
3 changed files with 9 additions and 1 deletions

View file

@ -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;