Fix for Game Count display in System View when filtered

This commit is contained in:
pjft 2017-05-27 08:40:18 +01:00
parent 7984a00a6e
commit 04d080a93b

View file

@ -204,7 +204,7 @@ void SystemView::onCursorChanged(const CursorState& state)
mSystemInfo.setOpacity((unsigned char)(lerp<float>(infoStartOpacity, 0.f, t) * 255));
}, (int)(infoStartOpacity * 150));
unsigned int gameCount = getSelected()->getGameCount();
unsigned int gameCount = getSelected()->getDisplayedGameCount();
// also change the text after we've fully faded out
setAnimation(infoFadeOut, 0, [this, gameCount] {