GBA Video: Fix OBJ VRAM wrapping

This commit is contained in:
Vicki Pfau 2021-07-04 16:02:18 -07:00
parent fb68e4a5ce
commit 7f151e64a7
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ void GBAVideoReset(struct GBAVideo* video) {
memset(video->renderer->vramOBJ, 0, sizeof(video->renderer->vramOBJ));
video->renderer->vramOBJ[0] = &video->vram[0x8000];
video->renderer->vramOBJ[1] = &video->vram[0xA000];
video->renderer->vramOBJ[2] = _zeroes;
video->renderer->vramOBJ[2] = &video->vram[0x8000];
video->renderer->vramOBJ[3] = _zeroes;
video->renderer->reset(video->renderer);