diff options
author | Paweł Kołodziejski | 2006-10-08 19:39:46 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-10-08 19:39:46 +0000 |
commit | 430317dc92b58470d0b66987717ba33cf71f0930 (patch) | |
tree | 0213a04c956a61f9226ab2ecacb74f5c63ac92b1 /engines/scumm | |
parent | f73861c94357919fef8173463b879ef3fa241c7f (diff) | |
download | scummvm-rg350-430317dc92b58470d0b66987717ba33cf71f0930.tar.gz scummvm-rg350-430317dc92b58470d0b66987717ba33cf71f0930.tar.bz2 scummvm-rg350-430317dc92b58470d0b66987717ba33cf71f0930.zip |
removed not needed anymore time measures in smush code
svn-id: r24226
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/smush/smush_player.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp index c043651fb6..7eade65a97 100644 --- a/engines/scumm/smush/smush_player.cpp +++ b/engines/scumm/smush/smush_player.cpp @@ -940,9 +940,6 @@ void SmushPlayer::handleFrame(Chunk &b) { 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 @@ void SmushPlayer::handleFrame(Chunk &b) { _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 @@ void SmushPlayer::handleFrame(Chunk &b) { } _smixer->handleFrame(); - debugC(DEBUG_SMUSH, "Smush stats: FRME( %03d ), Limit(%d)", end_time - start_time, _speed); - _frame++; } @@ -1334,11 +1327,8 @@ void SmushPlayer::play(const char *filename, int32 offset, int32 startFrame) { _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 @@ void SmushPlayer::play(const char *filename, int32 offset, int32 startFrame) { _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(); |