mirror of https://github.com/mgba-emu/mgba.git
GB Video: Render SGB border when unmasking with ATTR/PAL_SET (fixes #2261)
This commit is contained in:
parent
c2f40b88ef
commit
06318fbdd2
1
CHANGES
1
CHANGES
|
@ -11,6 +11,7 @@ Features:
|
||||||
- Additional scaling shaders
|
- Additional scaling shaders
|
||||||
Emulation fixes:
|
Emulation fixes:
|
||||||
- GB Memory: Add cursory cartridge open bus emulation (fixes mgba.io/i/2032)
|
- GB Memory: Add cursory cartridge open bus emulation (fixes mgba.io/i/2032)
|
||||||
|
- GB Video: Render SGB border when unmasking with ATTR/PAL_SET (fixes mgba.io/i/2261)
|
||||||
- GBA: Improve timing when not booting from BIOS
|
- GBA: Improve timing when not booting from BIOS
|
||||||
- GBA SIO: Fix SI value for unattached MULTI mode
|
- GBA SIO: Fix SI value for unattached MULTI mode
|
||||||
- GBA Video: Fix backdrop color if DISPCNT is first set to 0 (fixes mgba.io/i/2260)
|
- GBA Video: Fix backdrop color if DISPCNT is first set to 0 (fixes mgba.io/i/2260)
|
||||||
|
|
|
@ -780,6 +780,9 @@ static void GBVideoSoftwareRendererFinishFrame(struct GBVideoRenderer* renderer)
|
||||||
case SGB_ATTR_SET:
|
case SGB_ATTR_SET:
|
||||||
if (softwareRenderer->sgbPacket[1] & 0x40) {
|
if (softwareRenderer->sgbPacket[1] & 0x40) {
|
||||||
renderer->sgbRenderMode = 0;
|
renderer->sgbRenderMode = 0;
|
||||||
|
if (softwareRenderer->sgbBorders) {
|
||||||
|
_regenerateSGBBorder(softwareRenderer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SGB_PAL_TRN:
|
case SGB_PAL_TRN:
|
||||||
|
|
Loading…
Reference in New Issue