all repos — mgba @ 554276d5c379401baa618ec4f4b4f0440be09b19

mGBA Game Boy Advance Emulator

GBA Video: Remove old slow path fallback
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Aug 2016 22:35:31 -0700
commit

554276d5c379401baa618ec4f4b4f0440be09b19

parent

08e73bd9dfb7a4b1019020b78b6353469635dfdc

3 files changed, 5 insertions(+), 4 deletions(-)

jump to
M CHANGESCHANGES

@@ -49,6 +49,7 @@ - GUI: Screenshot dimensions are now passed through

- GUI: Add back logging - PSP2: Add rumble for PS TV - PSP2: Add fit-to-height screen mode + - GBA Video: Remove old slow path fallback 0.4.1: (2016-07-11) Bugfixes:
M src/gba/renderers/software-bg.csrc/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.csrc/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 {