GBA Video: Remove old slow path fallback

This commit is contained in:
Jeffrey Pfau 2016-08-11 22:35:31 -07:00
parent 08e73bd9df
commit 554276d5c3
3 changed files with 5 additions and 4 deletions

View File

@ -49,6 +49,7 @@ Misc:
- 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:

View File

@ -79,13 +79,13 @@ void GBAVideoSoftwareRendererDrawBackgroundMode2(struct GBAVideoSoftwareRenderer
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);

View File

@ -499,7 +499,7 @@ void GBAVideoSoftwareRendererDrawBackgroundMode0(struct GBAVideoSoftwareRenderer
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 @@ void GBAVideoSoftwareRendererDrawBackgroundMode0(struct GBAVideoSoftwareRenderer
}
}
} 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 {