mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix IO cache size
This commit is contained in:
parent
12ae8ba949
commit
a47bc8455c
|
@ -139,9 +139,9 @@ struct GBAVideoSoftwareRenderer {
|
||||||
int16_t objOffsetY;
|
int16_t objOffsetY;
|
||||||
|
|
||||||
uint32_t scanlineDirty[5];
|
uint32_t scanlineDirty[5];
|
||||||
uint16_t nextIo[REG_SOUND1CNT_LO];
|
uint16_t nextIo[REG_SOUND1CNT_LO >> 1];
|
||||||
struct ScanlineCache {
|
struct ScanlineCache {
|
||||||
uint16_t io[REG_SOUND1CNT_LO];
|
uint16_t io[REG_SOUND1CNT_LO >> 1];
|
||||||
int32_t scale[2][2];
|
int32_t scale[2][2];
|
||||||
} cache[GBA_VIDEO_VERTICAL_PIXELS];
|
} cache[GBA_VIDEO_VERTICAL_PIXELS];
|
||||||
int nextY;
|
int nextY;
|
||||||
|
|
Loading…
Reference in New Issue