From b625df161248582f5f0eb6b011029922aa4c84f0 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 5 Jul 2012 20:41:01 -0400 Subject: PEGASUS: Cleanup doFadeOutSync/doFadeInSync calls --- engines/pegasus/graphics.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/pegasus/graphics.cpp') 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; } -- cgit v1.2.3