GBA Video: Remove old slow path fallback
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Aug 2016 22:35:31 -0700
3 files changed,
5 insertions(+),
4 deletions(-)
M
src/gba/renderers/software-bg.c
→
src/gba/renderers/software-bg.c
@@ -79,13 +79,13 @@ int outX;
uint32_t* pixel; if (!objwinSlowPath) { - if (!(flags & FLAG_TARGET_2) && renderer->blendEffect != BLEND_ALPHA) { + if (!(flags & FLAG_TARGET_2)) { DRAW_BACKGROUND_MODE_2(NoBlend, NO_OBJWIN); } else { DRAW_BACKGROUND_MODE_2(Blend, NO_OBJWIN); } } else { - if (!(flags & FLAG_TARGET_2) && renderer->blendEffect != BLEND_ALPHA) { + if (!(flags & FLAG_TARGET_2)) { DRAW_BACKGROUND_MODE_2(NoBlend, OBJWIN); } else { DRAW_BACKGROUND_MODE_2(Blend, OBJWIN);
M
src/gba/renderers/software-mode0.c
→
src/gba/renderers/software-mode0.c
@@ -499,7 +499,7 @@ int tileEnd = ((length + inX) >> 3) - (inX >> 3);
uint16_t* vram = renderer->d.vram; if (!objwinSlowPath) { - if (!(flags & FLAG_TARGET_2) && renderer->blendEffect != BLEND_ALPHA) { + if (!(flags & FLAG_TARGET_2)) { if (!background->multipalette) { DRAW_BACKGROUND_MODE_0(16, NoBlend, NO_OBJWIN); } else {@@ -513,7 +513,7 @@ DRAW_BACKGROUND_MODE_0(256, Blend, NO_OBJWIN);
} } } else { - if (!(flags & FLAG_TARGET_2) && renderer->blendEffect != BLEND_ALPHA) { + if (!(flags & FLAG_TARGET_2)) { if (!background->multipalette) { DRAW_BACKGROUND_MODE_0(16, NoBlend, OBJWIN); } else {