mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix OBJ VRAM wrapping
This commit is contained in:
parent
fb68e4a5ce
commit
7f151e64a7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue