mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-09-18 21:22:23 +02:00
Fixed bug in switching playlist during attract mode while on the Main menu.
This commit is contained in:
@@ -704,6 +704,24 @@ bool RetroFE::run( )
|
|||||||
else // Not in a collection
|
else // Not in a collection
|
||||||
{
|
{
|
||||||
state = RETROFE_COLLECTION_DOWN_ENTER;
|
state = RETROFE_COLLECTION_DOWN_ENTER;
|
||||||
|
|
||||||
|
if ( attractMode_ ) // Check playlist change in attract mode
|
||||||
|
{
|
||||||
|
attractModePlaylistCollectionNumber_ += 1;
|
||||||
|
int attractModePlaylistCollectionNumber = 0;
|
||||||
|
config_.getProperty( "attractModePlaylistCollectionNumber", attractModePlaylistCollectionNumber );
|
||||||
|
// Check if playlist should be changed
|
||||||
|
if ( attractModePlaylistCollectionNumber_ > 0 && attractModePlaylistCollectionNumber_ >= attractModePlaylistCollectionNumber )
|
||||||
|
{
|
||||||
|
attractModePlaylistCollectionNumber_ = 0;
|
||||||
|
currentPage_->nextPlaylist( );
|
||||||
|
std::string attractModeSkipPlaylist = "";
|
||||||
|
config_.getProperty( "attractModeSkipPlaylist", attractModeSkipPlaylist );
|
||||||
|
if (currentPage_->getPlaylistName( ) == attractModeSkipPlaylist)
|
||||||
|
currentPage_->nextPlaylist( );
|
||||||
|
state = RETROFE_PLAYLIST_REQUEST;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
std::string retrofe_version_major = "0";
|
std::string retrofe_version_major = "0";
|
||||||
std::string retrofe_version_minor = "9";
|
std::string retrofe_version_minor = "9";
|
||||||
std::string retrofe_version_build = "37";
|
std::string retrofe_version_build = "38";
|
||||||
|
|
||||||
|
|
||||||
std::string Version::getString( )
|
std::string Version::getString( )
|
||||||
|
|||||||
Reference in New Issue
Block a user