[Scummvm-cvs-logs] scummvm master -> 4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447

eriktorbjorn eriktorbjorn at telia.com
Mon Jun 27 21:50:24 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4b51bef7ae TOON: Add delay to inventory rendering loop. Uses a bit less CPU now.


Commit: 4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447
    https://github.com/scummvm/scummvm/commit/4b51bef7aebaef1f2a0e8a901a0d7bd0fee15447
Author: eriktorbjorn (eriktorbjorn at users.sourceforge.net)
Date: 2011-06-27T12:48:00-07:00

Commit Message:
TOON: Add delay to inventory rendering loop. Uses a bit less CPU now.

Changed paths:
    engines/toon/toon.cpp



diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index cb41db1..26639d7 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;






More information about the Scummvm-git-logs mailing list