aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/frameout.cpp')
-rw-r--r--engines/sci/graphics/frameout.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 9512ec2ed1..90bd798a1b 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -748,12 +748,11 @@ void GfxFrameout::kernelFrameout() {
return;
}
- _palette->palVaryUpdate();
- _palette->applyCycles();
- _palette->applyFade();
- // TODO: This should probably not require screen pic invalidation
- _screen->_picNotValid = 1;
- _palette->setOnScreen();
+ _palette->updateForFrame();
+
+ // TODO: Tons of drawing stuff should be here, see commented out implementation above
+
+ _palette->updateHardware();
for (PlaneList::iterator it = _planes.begin(); it != _planes.end(); it++) {
reg_t planeObject = it->object;