From 93b84118da7af100f00cf6d6381de97193e02455 Mon Sep 17 00:00:00 2001 From: Don Honerbrink Date: Mon, 23 Mar 2015 22:51:01 -0500 Subject: [PATCH] Preventing attract mode from running immediately after launching game (Update CurrentTime when returning from game). --- RetroFE/Source/RetroFE.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index bdd898e..17eb3ba 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -124,6 +124,8 @@ void RetroFE::LaunchExit() SDL_SetWindowGrab(SDL::GetWindow(), SDL_TRUE); Input.ResetKeyStates(); Attract.Reset(); + + CurrentTime = static_cast(SDL_GetTicks()) / 1000; if(CurrentPage) { CurrentPage->LaunchExit();