Skip to content

Commit

Permalink
GROOVIE: Handle transparency in Gamepad videos in the 11th Hour
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Nov 4, 2014
1 parent c9a6023 commit 028238e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/groovie/roq.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 028238e

Please sign in to comment.