mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
More fixes, more gamescreen button fixes
This commit is contained in:
1 parent
2797cfca56
commit
ca127b0e5b
3 files changed
+12
-15
No files matched your search
+10
-3
@@ -202,7 +202,6 @@ void GameScreen::CreateContentViews(UI::ViewGroup *parent) {
|
||||
}
|
||||
mainGameInfo->SetSpacing(3.0f);
|
||||
|
||||
GameDBInfo dbInfo;
|
||||
std::vector<GameDBInfo> dbInfos;
|
||||
const bool inGameDB = g_gameDB.GetGameInfos(info_->id_version, &dbInfos);
|
||||
|
||||
@@ -482,10 +481,18 @@ void GameScreen::OnCreateConfig(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
std::string_view GameScreen::GetTitle() const {
|
||||
if (knownFlags_ & GameInfoFlags::PARAM_SFO) {
|
||||
titleCache_ = info_->GetDBTitle();
|
||||
if (!info_->Ready(GameInfoFlags::PARAM_SFO)) {
|
||||
return "";
|
||||
}
|
||||
|
||||
// Don't look up homebrew in the database, sometimes they take IDs from games.
|
||||
if (info_->fileType != IdentifiedFileType::PSP_PBP_DIRECTORY) {
|
||||
if (knownFlags_ & GameInfoFlags::PARAM_SFO) {
|
||||
titleCache_ = info_->GetDBTitle();
|
||||
}
|
||||
} else {
|
||||
titleCache_ = info_->GetTitle();
|
||||
}
|
||||
return titleCache_;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user