all repos — mgba @ 8d194fa95b703fbfbee0ef2eb41ce453dfcfe962

mGBA Game Boy Advance Emulator

GB Video: Fix some cases where SGB border doesn't draw to mutli-buffers
Vicki Pfau vi@endrift.com
Sun, 01 Mar 2020 15:25:40 -0800
commit

8d194fa95b703fbfbee0ef2eb41ce453dfcfe962

parent

d9d299fb88efba1b15d11e0c0b42beb27564193f

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -19,6 +19,7 @@ Other fixes:

- Core: Ensure ELF regions can be written before trying - Core: Fix ELF loading regression (fixes mgba.io/i/1669) - Core: Fix crash modifying hash table entry (fixes mgba.io/i/1673) + - GB Video: Fix some cases where SGB border doesn't draw to mutli-buffers - GBA: Reject incorrectly sized BIOSes - Debugger: Don't skip undefined instructions when debugger attached - Qt: Force OpenGL paint engine creation thread (fixes mgba.io/i/1642)
M src/gb/renderers/software.csrc/gb/renderers/software.c

@@ -705,7 +705,9 @@ break;

case SGB_PAL_TRN: case SGB_CHR_TRN: case SGB_PCT_TRN: - if (softwareRenderer->sgbTransfer > 0 && softwareRenderer->sgbBorders && !renderer->sgbRenderMode) { + case SGB_ATRC_EN: + case SGB_MASK_EN: + if (softwareRenderer->sgbBorders && !renderer->sgbRenderMode) { // Make sure every buffer sees this if we're multibuffering _regenerateSGBBorder(softwareRenderer); }