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
9cc541ae7e
commit
9d5bfd8582
1
CHANGES
1
CHANGES
|
@ -1,5 +1,6 @@
|
||||||
0.9.3: (Future)
|
0.9.3: (Future)
|
||||||
Emulation fixes:
|
Emulation fixes:
|
||||||
|
- GB Video: Render SGB border when unmasking with ATTR/PAL_SET (fixes mgba.io/i/2261)
|
||||||
- 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)
|
||||||
Other fixes:
|
Other fixes:
|
||||||
|
|
|
@ -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