mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-06-07 03:16:49 +02:00
Fixed some small bugs with the new cyclePlaylist feature.
This commit is contained in:
@@ -1096,8 +1096,9 @@ void Page::cyclePlaylist(std::vector<std::string> list)
|
|||||||
// Current playlist found; switch to the next found playlist in the list
|
// Current playlist found; switch to the next found playlist in the list
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for(;; ++it)
|
for(;;)
|
||||||
{
|
{
|
||||||
|
++it;
|
||||||
if (it == list.end()) it = list.begin(); // wrap
|
if (it == list.end()) it = list.begin(); // wrap
|
||||||
selectPlaylist( *it );
|
selectPlaylist( *it );
|
||||||
if (*it == getPlaylistName())
|
if (*it == getPlaylistName())
|
||||||
|
|||||||
@@ -1000,6 +1000,7 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
|
|||||||
!input_.keystate(UserInput::KeyCodeFavPlaylist) &&
|
!input_.keystate(UserInput::KeyCodeFavPlaylist) &&
|
||||||
!input_.keystate(UserInput::KeyCodeNextPlaylist) &&
|
!input_.keystate(UserInput::KeyCodeNextPlaylist) &&
|
||||||
!input_.keystate(UserInput::KeyCodePrevPlaylist) &&
|
!input_.keystate(UserInput::KeyCodePrevPlaylist) &&
|
||||||
|
!input_.keystate(UserInput::KeyCodeCyclePlaylist) &&
|
||||||
!input_.keystate(UserInput::KeyCodeAddPlaylist) &&
|
!input_.keystate(UserInput::KeyCodeAddPlaylist) &&
|
||||||
!input_.keystate(UserInput::KeyCodeRemovePlaylist) &&
|
!input_.keystate(UserInput::KeyCodeRemovePlaylist) &&
|
||||||
!input_.keystate(UserInput::KeyCodeRandom) &&
|
!input_.keystate(UserInput::KeyCodeRandom) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user