SDL: Load/store RTC state
Vicki Pfau vi@endrift.com
Sat, 14 Jul 2018 14:19:29 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/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: