aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/voyeur.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2013-05-31 21:03:16 -0400
committerPaul Gilbert2013-05-31 21:03:16 -0400
commit4279eedceb261e3c179343b15d2e6841dc0bd43b (patch)
treecb6128c093a6052ee108a27131a967bd2990fb17 /engines/voyeur/voyeur.cpp
parent43d31cc33424c053e8f42c7fcb5f18b422ef1ef9 (diff)
downloadscummvm-rg350-4279eedceb261e3c179343b15d2e6841dc0bd43b.tar.gz
scummvm-rg350-4279eedceb261e3c179343b15d2e6841dc0bd43b.tar.bz2
scummvm-rg350-4279eedceb261e3c179343b15d2e6841dc0bd43b.zip
VOYEUR: Cleanup of sDrawPic parameter usage and viewport initialisation
Diffstat (limited to 'engines/voyeur/voyeur.cpp')
-rw-r--r--engines/voyeur/voyeur.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index dc25ec4745..27bf8585c9 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -143,8 +143,13 @@ void VoyeurEngine::doHeadTitle() {
_eventsManager.startMainClockInt();
if (_bVoy->getBoltGroup(0x10500)) {
_graphicsManager._backgroundPage = _bVoy->getBoltEntry(0x5020000)._picResource;
- _graphicsManager._vPort->setupViewPort();
-
+ (*_graphicsManager._vPort)->setupViewPort();
+ (*_graphicsManager._vPort)->_flags |= 8;
+
+ _graphicsManager.flipPage();
+ _graphicsManager.sWaitFlip();
+
+ // TODO:
}
}