aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2014-11-04 12:57:58 +0200
committerFilippos Karapetis2014-11-04 12:57:58 +0200
commit028238ed5481838828652d43e647d317641745fe (patch)
treea876251902c56c220a90eceddc961f8bdd5a13b2 /engines
parentc9a60233d587fd67ec00aeb494e8a7c1df4d2a3f (diff)
downloadscummvm-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.cpp4
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;