all repos — mgba @ d571d8921fed313733803973629780633e3d5774

mGBA Game Boy Advance Emulator

SDL: Load/store RTC state
Vicki Pfau vi@endrift.com
Sat, 14 Jul 2018 14:19:29 -0700
commit

d571d8921fed313733803973629780633e3d5774

parent

559ac947d0aeb971227257442e04b03ffb4733d2

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

jump to
M src/platform/sdl/sdl-events.csrc/platform/sdl/sdl-events.c

@@ -488,7 +488,7 @@ case SDLK_F7:

case SDLK_F8: case SDLK_F9: mCoreThreadInterrupt(context); - mCoreSaveState(context->core, event->keysym.sym - SDLK_F1 + 1, SAVESTATE_SAVEDATA | SAVESTATE_SCREENSHOT); + mCoreSaveState(context->core, event->keysym.sym - SDLK_F1 + 1, SAVESTATE_SAVEDATA | SAVESTATE_SCREENSHOT | SAVESTATE_RTC); mCoreThreadContinue(context); break; default:

@@ -506,7 +506,7 @@ case SDLK_F7:

case SDLK_F8: case SDLK_F9: mCoreThreadInterrupt(context); - mCoreLoadState(context->core, event->keysym.sym - SDLK_F1 + 1, SAVESTATE_SCREENSHOT); + mCoreLoadState(context->core, event->keysym.sym - SDLK_F1 + 1, SAVESTATE_SCREENSHOT | SAVESTATE_RTC); mCoreThreadContinue(context); break; default: