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