mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-28 02:35:23 +01:00
Preventing attract mode from running immediately after launching game (Update CurrentTime when returning from game).
This commit is contained in:
parent
410ee1c8e4
commit
93b84118da
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user