mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix blend issues with obscured middle layers
This commit is contained in:
parent
6cc8890226
commit
ee8dedeea1
1
CHANGES
1
CHANGES
|
@ -24,6 +24,7 @@ Bugfixes:
|
||||||
- Qt: Properly set default video recording settings
|
- Qt: Properly set default video recording settings
|
||||||
- GBA Audio: Make larger buffer sizes than 2048 actually work properly
|
- GBA Audio: Make larger buffer sizes than 2048 actually work properly
|
||||||
- GBA Audio: Audio buffer sizes are now correct sizes for both sample rates
|
- GBA Audio: Audio buffer sizes are now correct sizes for both sample rates
|
||||||
|
- GBA Video: Fix blend issues with obscured middle layers
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Disable sync to video by default
|
- Qt: Disable sync to video by default
|
||||||
- GBA: Exit cleanly on FATAL if the port supports it
|
- GBA: Exit cleanly on FATAL if the port supports it
|
||||||
|
|
|
@ -1303,7 +1303,7 @@ static void _drawBackgroundMode0(struct GBAVideoSoftwareRenderer* renderer, stru
|
||||||
uint16_t* vram = renderer->d.vram;
|
uint16_t* vram = renderer->d.vram;
|
||||||
|
|
||||||
if (!objwinSlowPath) {
|
if (!objwinSlowPath) {
|
||||||
if (!(flags & FLAG_TARGET_2)) {
|
if (!(flags & FLAG_TARGET_2) && renderer->blendEffect != BLEND_ALPHA) {
|
||||||
if (!background->multipalette) {
|
if (!background->multipalette) {
|
||||||
DRAW_BACKGROUND_MODE_0(16, NoBlend, NO_OBJWIN);
|
DRAW_BACKGROUND_MODE_0(16, NoBlend, NO_OBJWIN);
|
||||||
} else {
|
} else {
|
||||||
|
@ -1317,7 +1317,7 @@ static void _drawBackgroundMode0(struct GBAVideoSoftwareRenderer* renderer, stru
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!(flags & FLAG_TARGET_2)) {
|
if (!(flags & FLAG_TARGET_2) && renderer->blendEffect != BLEND_ALPHA) {
|
||||||
if (!background->multipalette) {
|
if (!background->multipalette) {
|
||||||
DRAW_BACKGROUND_MODE_0(16, NoBlend, OBJWIN);
|
DRAW_BACKGROUND_MODE_0(16, NoBlend, OBJWIN);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue