From 079b75ce0e2d8e0f73e4ad079d8201c216b0f5c5 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Sun, 13 Oct 2019 22:05:25 +0200 Subject: [PATCH] Changed order of attract animation. --- RetroFE/Source/RetroFE.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index 2cddbaa..a90bfc6 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -1137,6 +1137,14 @@ void RetroFE::run( ) currentPage_->nextPlaylist( ); state = RETROFE_PLAYLIST_REQUEST; } + } + if ( menuMode_ ) + { + attract_.reset( ); + } + currentPage_->update( deltaTime ); + if (!splashMode) + { if ( currentPage_->isAttractIdle( ) ) { if ( !attractMode_ && attract_.isSet( ) ) @@ -1154,11 +1162,6 @@ void RetroFE::run( ) attractMode_ = attract_.isSet( ); } } - if ( menuMode_ ) - { - attract_.reset( ); - } - currentPage_->update( deltaTime ); } render( );