Preventing attract mode from running immediately after launching game (Update CurrentTime when returning from game).

This commit is contained in:
Don Honerbrink 2015-03-23 22:51:01 -05:00
parent 410ee1c8e4
commit 93b84118da

View File

@ -124,6 +124,8 @@ void RetroFE::LaunchExit()
SDL_SetWindowGrab(SDL::GetWindow(), SDL_TRUE);
Input.ResetKeyStates();
Attract.Reset();
CurrentTime = static_cast<float>(SDL_GetTicks()) / 1000;
if(CurrentPage)
{
CurrentPage->LaunchExit();