GBA Video: Reset renderer when reseting video
Jeffrey Pfau jeffrey@endrift.com
Thu, 20 Nov 2014 22:58:26 -0800
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-video.c
→
src/gba/gba-video.c
@@ -61,6 +61,9 @@ video->oam.raw[i * 4 + 1] = 0x0000;
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) {