Adding gameid to gameinfoscreen

This commit is contained in:
ufdada 2013-08-24 13:08:02 +02:00
parent 5798e7df46
commit a7de724871

View file

@ -107,7 +107,7 @@ void GameScreen::update(InputState &input) {
GameInfo *info = g_gameInfoCache.GetInfo(gamePath_, true); GameInfo *info = g_gameInfoCache.GetInfo(gamePath_, true);
if (tvTitle_) if (tvTitle_)
tvTitle_->SetText(info->title); tvTitle_->SetText(info->title + " (" + info->id + ")");
if (info->iconTexture && texvGameIcon_) { if (info->iconTexture && texvGameIcon_) {
texvGameIcon_->SetTexture(info->iconTexture); texvGameIcon_->SetTexture(info->iconTexture);
uint32_t color = whiteAlpha(ease((time_now_d() - info->timeIconWasLoaded) * 3)); uint32_t color = whiteAlpha(ease((time_now_d() - info->timeIconWasLoaded) * 3));