GB Video: Reset renderer when loading state

This commit is contained in:
Vicki Pfau 2017-06-12 22:13:01 -07:00
parent edeaba2e7c
commit 307982116e
2 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,7 @@ Bugfixes:
- 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

View File

@ -628,4 +628,7 @@ void GBVideoDeserialize(struct GBVideo* video, const struct GBSerializedState* s
_cleanOAM(video, video->ly);
GBVideoSwitchBank(video, video->vramCurrentBank);
video->renderer->deinit(video->renderer);
video->renderer->init(video->renderer, video->p->model);
}