diff options
author | Filippos Karapetis | 2012-10-06 00:13:50 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-10-06 00:13:50 +0300 |
commit | e47425aaf58cff34343f76f6e7d5745b4ba95622 (patch) | |
tree | 929e7adf6046f9970f991109831d1e4da59c9d03 /engines | |
parent | 650df5a16c601bfb442d8e0355acbfdab3d4c99e (diff) | |
download | scummvm-rg350-e47425aaf58cff34343f76f6e7d5745b4ba95622.tar.gz scummvm-rg350-e47425aaf58cff34343f76f6e7d5745b4ba95622.tar.bz2 scummvm-rg350-e47425aaf58cff34343f76f6e7d5745b4ba95622.zip |
TOLTECS: Wait a bit after drawing each frame
This reduces the CPU load considerably (it's around 10% now, down from 50%)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/toltecs/toltecs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index 71264a69cc..9f3a10a03b 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -311,6 +311,7 @@ void ToltecsEngine::drawScreen() { } _system->updateScreen(); + _system->delayMillis(10); updateCamera(); } |