mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
AGOS: Fix invisibility in Amiga CD32 Simon the Sorcerer 1 demo
This probably affects the full version as well, but I haven't verified that. Either way, the old code was obviously wrong while the new makes it look right to me.
This commit is contained in:
parent
74509eb8ac
commit
f94f48ae2b
@ -547,7 +547,7 @@ void AGOSEngine_Simon1::drawMaskedImage(VC10_state *state) {
|
||||
if ((dst[count * 2] & 0xF0) == 0x20)
|
||||
dst[count * 2] = src[count * 2];
|
||||
if (mask[count + state->x_skip] & 0x0F)
|
||||
if ((dst[count * 2 + 1] & 0x0F) == 0x20)
|
||||
if ((dst[count * 2 + 1] & 0xF0) == 0x20)
|
||||
dst[count * 2 + 1] = src[count * 2 + 1];
|
||||
} else {
|
||||
/* no transparency */
|
||||
|
Loading…
Reference in New Issue
Block a user