GBA Video: Reset renderer when reseting video

This commit is contained in:
Jeffrey Pfau 2014-11-20 22:58:26 -08:00
parent cf55fcbb52
commit 52b96e16f8
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ void GBAVideoReset(struct GBAVideo* video) {
video->oam.raw[i * 4 + 2] = 0x0000;
video->oam.raw[i * 4 + 3] = 0x0000;
}
video->renderer->deinit(video->renderer);
video->renderer->init(video->renderer);
}
void GBAVideoDeinit(struct GBAVideo* video) {