aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/graphics.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2012-07-05 20:41:01 -0400
committerMatthew Hoops2012-07-05 20:41:01 -0400
commitb625df161248582f5f0eb6b011029922aa4c84f0 (patch)
tree9f1dac9e9bfcd9fa9fa48616eb491d7545b59053 /engines/pegasus/graphics.cpp
parent3860f341365a59ff96ec41e61e3952be01915b40 (diff)
downloadscummvm-rg350-b625df161248582f5f0eb6b011029922aa4c84f0.tar.gz
scummvm-rg350-b625df161248582f5f0eb6b011029922aa4c84f0.tar.bz2
scummvm-rg350-b625df161248582f5f0eb6b011029922aa4c84f0.zip
PEGASUS: Cleanup doFadeOutSync/doFadeInSync calls
Diffstat (limited to 'engines/pegasus/graphics.cpp')
-rw-r--r--engines/pegasus/graphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/pegasus/graphics.cpp b/engines/pegasus/graphics.cpp
index 8d0347ebc4..1712ed5f1a 100644
--- a/engines/pegasus/graphics.cpp
+++ b/engines/pegasus/graphics.cpp
@@ -204,13 +204,13 @@ DisplayElement *GraphicsManager::findDisplayElement(const DisplayElementID id) {
return 0;
}
-void GraphicsManager::doFadeOutSync(const TimeValue time, const TimeScale scale, uint32 color) {
+void GraphicsManager::doFadeOutSync(const TimeValue time, const TimeScale scale, bool isBlack) {
_updatesEnabled = false;
- _screenFader->doFadeOutSync(time, scale, color == 0);
+ _screenFader->doFadeOutSync(time, scale, isBlack);
}
-void GraphicsManager::doFadeInSync(const TimeValue time, const TimeScale scale, uint32 color) {
- _screenFader->doFadeInSync(time, scale, color == 0);
+void GraphicsManager::doFadeInSync(const TimeValue time, const TimeScale scale, bool isBlack) {
+ _screenFader->doFadeInSync(time, scale, isBlack);
_updatesEnabled = true;
}