aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/graphics.cpp
diff options
context:
space:
mode:
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;
}