mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Improve the appearance of unsupported ISO files
This commit is contained in:
1 parent
24f2deeb2e
commit
1c80e93070
4 files changed
+144
-64
No files matched your search
+6
-6
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user