mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-19 21:52:45 +00:00
Fix missing titles for some file types
This commit is contained in:
parent
76242cb9f7
commit
9792453b27
@ -317,7 +317,7 @@ void GameInfo::ParseParamSFO() {
|
||||
|
||||
std::string GameInfo::GetTitle() {
|
||||
std::lock_guard<std::mutex> guard(lock);
|
||||
if (hasFlags & GameInfoFlags::PARAM_SFO) {
|
||||
if ((hasFlags & GameInfoFlags::PARAM_SFO) && !title.empty()) {
|
||||
return title;
|
||||
} else {
|
||||
return filePath_.GetFilename();
|
||||
|
Loading…
x
Reference in New Issue
Block a user