From 4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447 Mon Sep 17 00:00:00 2001 From: eriktorbjorn Date: Mon, 27 Jun 2011 21:48:00 +0200 Subject: TOON: Add delay to inventory rendering loop. Uses a bit less CPU now. --- engines/toon/toon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3