From 028238ed5481838828652d43e647d317641745fe Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 4 Nov 2014 12:57:58 +0200 Subject: [PATCH] GROOVIE: Handle transparency in Gamepad videos in the 11th Hour --- engines/groovie/roq.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp index 49d615897368..8f272d440474 100644 --- a/engines/groovie/roq.cpp +++ b/engines/groovie/roq.cpp @@ -135,6 +135,10 @@ void ROQPlayer::buildShowBuf() { // Copy a pixel, checking the alpha channel first if (_alpha && !(*in & 0xFF)) out++; + else if (_fg->h == 480 && *in == _vm->_pixelFormat.RGBToColor(255, 255, 255)) + // Handle transparency in Gamepad videos + // TODO: For now, we detect these videos by checking for full screen + out++; else *out++ = *in;