MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / setNextSortIndex

Method setNextSortIndex

src/components/GuiGameList.cpp:244–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void GuiGameList::setNextSortIndex()
245{
246 //make the index wrap around
247 if ((sortStateIndex - 1) >= sortStates.size()) {
248 setSortIndex(0);
249 }
250 setSortIndex(sortStateIndex + 1);
251}
252
253void GuiGameList::setPreviousSortIndex()
254{

Callers 1

inputMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected