diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-04-22 21:24:50 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-04-22 21:24:50 -0700 |
commit | 1bab34eb2ae67a71ec21362109384dba19f7a796 (patch) | |
tree | 8681e071a327f3e62ac306f1b30bb09c2ea36093 /vdp.c | |
parent | b8a90b328d5eedfb4f8187deb63203290de62e7c (diff) |
Shadow and higlight operators were switched
Diffstat (limited to 'vdp.c')
-rw-r--r-- | vdp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -526,10 +526,10 @@ void render_map_output(uint32_t line, int32_t col, vdp_context * context) src = 0; uint8_t sprite_color = *sprite_buf & 0x3F; if (sprite_color == 0x3E || sprite_color == 0x3F) { - if (sprite_color == 0x3E) { - src |= FBUF_SHADOW; + if (sprite_color == 0x3F) { + src = FBUF_SHADOW; } else { - src |= FBUF_HILIGHT; + src = FBUF_HILIGHT; } if (*plane_a & BUF_BIT_PRIORITY && *plane_a & 0xF) { pixel = *plane_a; |