[Scummvm-cvs-logs] SF.net SVN: scummvm: [24226] scummvm/trunk/engines/scumm/smush/smush_player .cpp
aquadran at users.sourceforge.net
aquadran at users.sourceforge.net
Sun Oct 8 21:39:51 CEST 2006
Revision: 24226
http://svn.sourceforge.net/scummvm/?rev=24226&view=rev
Author: aquadran
Date: 2006-10-08 12:39:46 -0700 (Sun, 08 Oct 2006)
Log Message:
-----------
removed not needed anymore time measures in smush code
Modified Paths:
--------------
scummvm/trunk/engines/scumm/smush/smush_player.cpp
Modified: scummvm/trunk/engines/scumm/smush/smush_player.cpp
===================================================================
--- scummvm/trunk/engines/scumm/smush/smush_player.cpp 2006-10-08 19:35:13 UTC (rev 24225)
+++ scummvm/trunk/engines/scumm/smush/smush_player.cpp 2006-10-08 19:39:46 UTC (rev 24226)
@@ -940,9 +940,6 @@
debugC(DEBUG_SMUSH, "SmushPlayer::handleFrame(%d)", _frame);
_skipNext = false;
- uint32 start_time, end_time;
- start_time = _vm->_system->getMillis();
-
if (_insanity) {
_vm->_insane->procPreRendering();
}
@@ -1001,8 +998,6 @@
_vm->_insane->procPostRendering(_dst, 0, 0, 0, _frame, _nbframes-1);
}
- end_time = _vm->_system->getMillis();
-
if (_width != 0 && _height != 0) {
#ifdef _WIN32_WCE
if (!_inTimer || _inTimerCount == _inTimerCountRedraw) {
@@ -1015,8 +1010,6 @@
}
_smixer->handleFrame();
- debugC(DEBUG_SMUSH, "Smush stats: FRME( %03d ), Limit(%d)", end_time - start_time, _speed);
-
_frame++;
}
@@ -1334,11 +1327,8 @@
_palDirtyMin = 256;
}
if (_updateNeeded) {
- uint32 end_time, start_time;
int w = _width, h = _height;
- start_time = _vm->_system->getMillis();
-
// Workaround for bug #1386333: "FT DEMO: assertion triggered
// when playing movie". Some frames there are 384 x 224
if (w > _vm->_screenWidth)
@@ -1354,11 +1344,6 @@
_inTimer = false;
_inTimerCount = 0;
#endif
-
- end_time = _vm->_system->getMillis();
-
- debugC(DEBUG_SMUSH, "Smush stats: BackendUpdateScreen( %03d )", end_time - start_time);
-
}
if (_vm->_quit || _vm->_saveLoadFlag) {
_smixer->stop();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list