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

Method setPreviousSortIndex

src/components/GuiGameList.cpp:253–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void GuiGameList::setPreviousSortIndex()
254{
255 //make the index wrap around
256 if (((int)sortStateIndex - 1) < 0) {
257 setSortIndex(sortStates.size() - 1);
258 }
259 setSortIndex(sortStateIndex - 1);
260}
261
262void GuiGameList::sort(FolderData::ComparisonFunction & comparisonFunction, bool ascending)
263{

Callers 1

inputMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected