all repos — mgba @ 656c3001ade639a55a634683d6a2107285707190

mGBA Game Boy Advance Emulator

GBA Video: Fix cache bounds
Vicki Pfau vi@endrift.com
Tue, 28 Jul 2020 15:35:56 -0700
commit

656c3001ade639a55a634683d6a2107285707190

parent

30268324e8876f2a982e559310d39532094e5bda

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

jump to
M include/mgba/internal/gba/renderers/video-software.hinclude/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];