aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreriktorbjorn2011-06-27 21:48:00 +0200
committereriktorbjorn2011-06-27 21:48:00 +0200
commit4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447 (patch)
treee14499a1a58a369f7f674c05e098dcfebf8edf37
parent6cea946f16cee1529863b0d5ca77cfbf4bfb01b1 (diff)
downloadscummvm-rg350-4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447.tar.gz
scummvm-rg350-4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447.tar.bz2
scummvm-rg350-4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447.zip
TOON: Add delay to inventory rendering loop. Uses a bit less CPU now.
-rw-r--r--engines/toon/toon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index cb41db1967..26639d71f7 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -2695,7 +2695,7 @@ int32 ToonEngine::showInventory() {
}
renderInventory();
-
+ _system->delayMillis(10);
}
_gameState->_currentScrollValue = oldScrollValue;