all repos — mgba @ e0a414d87ff58a8884a91c3dd9586f19b1365d6a

mGBA Game Boy Advance Emulator

GB Video: Fix regression with loading savestates
Vicki Pfau vi@endrift.com
Tue, 13 Jun 2017 21:20:12 -0700
commit

e0a414d87ff58a8884a91c3dd9586f19b1365d6a

parent

34647ffdca68da94f4fb5b51df4a8dc43758ad77

2 files changed, 1 insertions(+), 3 deletions(-)

jump to
M src/gb/renderers/software.csrc/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.csrc/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);