Fix alpha blending when neither target 1 or target 2 are set
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 03:09:23 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -310,7 +310,7 @@ }
renderer->flags[offset].finalized = 1; return; } - if (renderer->blendEffect != BLEND_ALPHA || (!flags.target1 && !flags.target2)) { + if (renderer->blendEffect != BLEND_ALPHA) { renderer->row[offset] = color; renderer->flags[offset].finalized = 1; } else if (renderer->blendEffect == BLEND_ALPHA) {