GBA Video: Fix cache bounds
Vicki Pfau vi@endrift.com
Tue, 28 Jul 2020 15:35:56 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
include/mgba/internal/gba/renderers/video-software.h
→
include/mgba/internal/gba/renderers/video-software.h
@@ -156,7 +156,7 @@ bool combinedObjSort;
int16_t objOffsetX; int16_t objOffsetY; - uint32_t scanlineDirty[5]; + uint32_t scanlineDirty[6]; uint16_t nextIo[REG_SOUND1CNT_LO >> 1]; struct ScanlineCache { uint16_t io[REG_SOUND1CNT_LO >> 1];