show "CONFIGURATION" instead of "X GAMES AVAILABLE" for the retropie menu

This commit is contained in:
Jools Wills 2016-11-08 19:38:10 +00:00
parent 25478d045e
commit 1c343c999b

View file

@ -177,8 +177,10 @@ void SystemView::onCursorChanged(const CursorState& state)
setAnimation(infoFadeOut, 0, [this, gameCount] {
std::stringstream ss;
if (getSelected()->getName() == "retropie")
ss << "CONFIGURATION";
// only display a game count if there are at least 2 games
if(gameCount > 1)
else if(gameCount > 1)
ss << gameCount << " GAMES AVAILABLE";
mSystemInfo.setText(ss.str());