mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Remove old slow path fallback
This commit is contained in:
parent
08e73bd9df
commit
554276d5c3
1
CHANGES
1
CHANGES
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue