aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authormd52011-04-10 05:47:29 +0300
committermd52011-04-10 14:27:46 +0300
commit3fde0306a44e1649d8922d59ea209a74736df8f2 (patch)
tree435178f87a6c7df6181ca91ebc8d5e0b7a966773 /engines
parentd2d6c9e2ba934a600ad6061328cac982fa5e3f64 (diff)
downloadscummvm-rg350-3fde0306a44e1649d8922d59ea209a74736df8f2.tar.gz
scummvm-rg350-3fde0306a44e1649d8922d59ea209a74736df8f2.tar.bz2
scummvm-rg350-3fde0306a44e1649d8922d59ea209a74736df8f2.zip
TINSEL: Removed the useless LookAtBuffers() function
Diffstat (limited to 'engines')
-rw-r--r--engines/tinsel/bmv.cpp17
-rw-r--r--engines/tinsel/bmv.h1
2 files changed, 0 insertions, 18 deletions
diff --git a/engines/tinsel/bmv.cpp b/engines/tinsel/bmv.cpp
index 3f56288aca..a459f2c919 100644
--- a/engines/tinsel/bmv.cpp
+++ b/engines/tinsel/bmv.cpp
@@ -1046,21 +1046,6 @@ void BMVPlayer::CopyMovieToScreen() {
}
/**
- * 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.
*/
void BMVPlayer::FettleBMV() {
@@ -1078,8 +1063,6 @@ void BMVPlayer::FettleBMV() {
return;
}
- LookAtBuffers();
-
if (!stream.isOpen()) {
int i;
diff --git a/engines/tinsel/bmv.h b/engines/tinsel/bmv.h
index 2644504cab..99a43e0740 100644
--- a/engines/tinsel/bmv.h
+++ b/engines/tinsel/bmv.h
@@ -151,7 +151,6 @@ private:
bool MaintainBuffer();
bool DoBMVFrame();
bool DoSoundFrame();
- void LookAtBuffers();
};