citra-emu
/
citra
Archived
1
0
Fork 0

game_list: append filename after program ID

This commit is contained in:
zhupengfei 2018-05-23 21:36:10 +08:00
parent 3b18faa163
commit e5c8b9f0a2
No known key found for this signature in database
GPG Key ID: 85B82A3E62174206
1 changed files with 3 additions and 2 deletions

View File

@ -182,8 +182,9 @@ public:
.replace("\\", "\\\\"));
if (installed_system_pattern.exactMatch(QString::fromStdString(path))) {
// Use a different mechanism for system / installed titles showing program ID
second_name =
"000" + QString::number(data(ProgramIdRole).toULongLong(), 16).toUpper();
second_name = "000" +
QString::number(data(ProgramIdRole).toULongLong(), 16).toUpper() +
"-" + QString::fromStdString(filename);
}
return title + (title.isEmpty() ? "" : "\n ") + second_name;
} else {