GBA Video: Fix backdrop blending on lines without sprites (fixes #1647)
Vicki Pfau vi@endrift.com
Tue, 28 Jan 2020 19:58:08 -0800
8 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
CHANGES
→
CHANGES
@@ -11,6 +11,7 @@ - GBA Serialize: Fix audio DMA timing deserialization
- GBA Video: Fix OAM not invalidating after reset (fixes mgba.io/i/1630) - GBA Video: Latch scanline at end of Hblank (fixes mgba.io/i/1319) - GBA Video: Fix Hblank timing + - GBA Video: Fix backdrop blending on lines without sprites (fixes mgba.io/i/1647) Other fixes: - Qt: Only dynamically reset video scale if a game is running - Qt: Fix race condition with proxied video events
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -623,7 +623,7 @@ softwareRenderer->bg[3].highlight = softwareRenderer->d.highlightBG[3];
_drawScanline(softwareRenderer, y); - if (softwareRenderer->forceTarget1 && softwareRenderer->target2Bd) { + if ((softwareRenderer->forceTarget1 || softwareRenderer->bg[0].target1 || softwareRenderer->bg[1].target1 || softwareRenderer->bg[2].target1 || softwareRenderer->bg[3].target1) && softwareRenderer->target2Bd) { x = 0; for (w = 0; w < softwareRenderer->nWindows; ++w) { uint32_t backdrop = 0;