Improve the appearance of unsupported ISO files

This commit is contained in:
Henrik Rydgård committed 2026-01-28 11:00:04 +01:00
1 parent 24f2deeb2e
commit 1c80e93070
4 files changed
+144 -64

No files matched your search

+6 -6
View File
@@ -204,15 +204,15 @@ void GameScreen::CreateContentViews(UI::ViewGroup *parent) {
const bool inGameDB = g_gameDB.GetGameInfos(info_->id_version, &dbInfos);
if (knownFlags_ & GameInfoFlags::PARAM_SFO) {
// Show the game ID title below the icon. The top title will be from the DB.
std::string title = info_->GetTitle();
TextView *tvTitle = mainGameInfo->Add(new TextView(title, ALIGN_LEFT | FLAG_WRAP_TEXT, false, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT)));
tvTitle->SetShadow(true);
std::string regionID = ReplaceAll(info_->id_version, "_", " v");
if (!regionID.empty()) {
regionID += ": ";
// Show the game ID title below the icon. The top title will be from the DB.
std::string title = info_->GetTitle();
TextView *tvTitle = mainGameInfo->Add(new TextView(title, ALIGN_LEFT | FLAG_WRAP_TEXT, false, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT)));
tvTitle->SetShadow(true);
}
if (info_->region != GameRegion::UNKNOWN) {