GB Video: Fix regression with loading savestates
Vicki Pfau vi@endrift.com
Tue, 13 Jun 2017 21:20:12 -0700
2 files changed,
1 insertions(+),
3 deletions(-)
M
src/gb/renderers/software.c
→
src/gb/renderers/software.c
@@ -67,8 +67,6 @@ softwareRenderer->wy = 0;
softwareRenderer->currentWy = 0; softwareRenderer->wx = 0; softwareRenderer->model = model; - - _clearScreen(softwareRenderer); } static void GBVideoSoftwareRendererDeinit(struct GBVideoRenderer* renderer) {
M
src/gb/serialize.c
→
src/gb/serialize.c
@@ -169,8 +169,8 @@ gb->audio.style = GB_AUDIO_CGB;
} GBMemoryDeserialize(gb, state); - GBIODeserialize(gb, state); GBVideoDeserialize(&gb->video, state); + GBIODeserialize(gb, state); GBTimerDeserialize(&gb->timer, state); GBAudioDeserialize(&gb->audio, state);