diff options
author | Filippos Karapetis | 2014-11-04 12:57:58 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-11-04 12:57:58 +0200 |
commit | 028238ed5481838828652d43e647d317641745fe (patch) | |
tree | a876251902c56c220a90eceddc961f8bdd5a13b2 /engines | |
parent | c9a60233d587fd67ec00aeb494e8a7c1df4d2a3f (diff) | |
download | scummvm-rg350-028238ed5481838828652d43e647d317641745fe.tar.gz scummvm-rg350-028238ed5481838828652d43e647d317641745fe.tar.bz2 scummvm-rg350-028238ed5481838828652d43e647d317641745fe.zip |
GROOVIE: Handle transparency in Gamepad videos in the 11th Hour
Diffstat (limited to 'engines')
-rw-r--r-- | engines/groovie/roq.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp index 49d6158973..8f272d4404 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; |