GB Video: Reset renderer when loading state
Vicki Pfau vi@endrift.com
Mon, 12 Jun 2017 22:13:01 -0700
2 files changed,
4 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -67,6 +67,7 @@ - LR35902: Fix decoding LD r, $imm and 0-valued immediates (fixes mgba.io/i/735)
- GB: Fix STAT blocking - GB MBC: Fix swapping carts not detect new MBC - GB Timer: Fix DIV batching if TAC changes + - GB Video: Reset renderer when loading state Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M
src/gb/video.c
→
src/gb/video.c
@@ -628,4 +628,7 @@ memcpy(&video->oam.raw, state->oam, GB_SIZE_OAM);
_cleanOAM(video, video->ly); GBVideoSwitchBank(video, video->vramCurrentBank); + + video->renderer->deinit(video->renderer); + video->renderer->init(video->renderer, video->p->model); }