GBA Video: Fix cache bounds

This commit is contained in:
Vicki Pfau 2020-07-28 15:35:56 -07:00
parent 30268324e8
commit 656c3001ad
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ struct GBAVideoSoftwareRenderer {
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];