aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/voyeur.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2013-06-08 10:31:37 -0400
committerPaul Gilbert2013-06-08 10:31:37 -0400
commit3780d9abecdb769f85129d63194df77aab364f21 (patch)
treee0b7897d1b6bf1b2d5261664d3c2d6ac008231b1 /engines/voyeur/voyeur.cpp
parent48c18a7c1448a169cc07e21e4f2e883642e9e42a (diff)
downloadscummvm-rg350-3780d9abecdb769f85129d63194df77aab364f21.tar.gz
scummvm-rg350-3780d9abecdb769f85129d63194df77aab364f21.tar.bz2
scummvm-rg350-3780d9abecdb769f85129d63194df77aab364f21.zip
VOYEUR: Major cleanup of code between EventsManager and GraphicsManager
Diffstat (limited to 'engines/voyeur/voyeur.cpp')
-rw-r--r--engines/voyeur/voyeur.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index aa48ebdd8a..98d88ac75a 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -121,13 +121,13 @@ void VoyeurEngine::globalInitBolt() {
_voy._evidence[18] = 9999;
_voy._curICF0 = _graphicsManager._palFlag ? 0xFFFFA5E0 : 0x5F90;
- _graphicsManager.addFadeInt();
+ _eventsManager.addFadeInt();
}
void VoyeurEngine::initBolt() {
vInitInterrupts();
_graphicsManager.sInitGraphics();
- _graphicsManager.vInitColor();
+ _eventsManager.vInitColor();
initInput();
}
@@ -174,7 +174,7 @@ void VoyeurEngine::doHeadTitle() {
_graphicsManager.flipPage();
_eventsManager.sWaitFlip();
- while (!shouldQuit() && (_graphicsManager._fadeStatus & 1))
+ while (!shouldQuit() && (_eventsManager._fadeStatus & 1))
_eventsManager.delay(1);
_graphicsManager.screenReset();