Turned on the automatic computation of dirty rects for ITE. It should make

it less of a CPU hog for 0.8.0, but I hope we'll be able to fix it properly
for later versions.

svn-id: r19083
This commit is contained in:
Torbjörn Andersson 2005-10-14 15:15:52 +00:00
parent dcb2372e23
commit 80fd4fe088

View File

@ -269,6 +269,13 @@ int SagaEngine::init(GameDetector &detector) {
_gfx->initPalette();
// FIXME: This is the ugly way of reducing redraw overhead. It works
// well for 320x200 but it's unclear how well it will work for
// 640x480.
if (getGameType() == GType_ITE)
_system->setFeatureState(OSystem::kFeatureAutoComputeDirtyRects, true);
return SUCCESS;
}