Skip to content

Commit

Permalink
TINSEL: Removed the useless LookAtBuffers() function
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Apr 10, 2011
1 parent d2d6c9e commit 3fde030
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
17 changes: 0 additions & 17 deletions engines/tinsel/bmv.cpp
Expand Up @@ -1045,21 +1045,6 @@ void BMVPlayer::CopyMovieToScreen() {
BmvDrawText(false);
}

/**
* LookAtBuffers
*/
void BMVPlayer::LookAtBuffers() {
// FIXME: What's the point of this function???
// Maybe to ensure the relevant data is loaded into cache by the CPU?
static int junk; // FIXME: Avoid non-const global vars
int i;

if (bigBuffer) {
for (i = 0; i < NUM_SLOTS; i++)
junk += bigBuffer[i*SLOT_SIZE];
}
}

/**
* Handles playback of any active movie. Called from the foreground 24 times a second.
*/
Expand All @@ -1078,8 +1063,6 @@ void BMVPlayer::FettleBMV() {
return;
}

LookAtBuffers();

if (!stream.isOpen()) {
int i;

Expand Down
1 change: 0 additions & 1 deletion engines/tinsel/bmv.h
Expand Up @@ -151,7 +151,6 @@ class BMVPlayer {
bool MaintainBuffer();
bool DoBMVFrame();
bool DoSoundFrame();
void LookAtBuffers();
};


Expand Down

0 comments on commit 3fde030

Please sign in to comment.