diff options
| author | Martin Kiewitz | 2009-10-05 22:42:41 +0000 | 
|---|---|---|
| committer | Martin Kiewitz | 2009-10-05 22:42:41 +0000 | 
| commit | 30596adec20f5b19636c7053bc69d5bc66236f95 (patch) | |
| tree | 578bbbfc925c69c05991191d81cfad0e65576d83 /engines/sci/gui/gui_picture.cpp | |
| parent | 20125b51c49004c827fde6011a3e4c873b47c1f3 (diff) | |
| download | scummvm-rg350-30596adec20f5b19636c7053bc69d5bc66236f95.tar.gz scummvm-rg350-30596adec20f5b19636c7053bc69d5bc66236f95.tar.bz2 scummvm-rg350-30596adec20f5b19636c7053bc69d5bc66236f95.zip | |
SCI/newgui: Implemented trick to get dithering going after drawing picture w/o destroying statusbar
svn-id: r44681
Diffstat (limited to 'engines/sci/gui/gui_picture.cpp')
| -rw-r--r-- | engines/sci/gui/gui_picture.cpp | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp index e3b89ca816..1ba69b9849 100644 --- a/engines/sci/gui/gui_picture.cpp +++ b/engines/sci/gui/gui_picture.cpp @@ -321,8 +321,11 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) {  		//warning("%X at %d", data[curPos], curPos);  		switch (pic_op = data[curPos++]) {  		case PIC_OP_SET_COLOR: -			byte = data[curPos++]; -			pic_color = isEGA ? EGApalette[byte] : byte; +			pic_color = data[curPos++]; +			if (isEGA) { +				pic_color = EGApalette[pic_color]; +				pic_color ^= pic_color << 4; +			}  			break;  		case PIC_OP_DISABLE_VISUAL:  			pic_color = 0xFF; | 
