mirror of https://github.com/mgba-emu/mgba.git
GB Video: Reset renderer when loading state
This commit is contained in:
parent
edeaba2e7c
commit
307982116e
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue