mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 17:41:06 +00:00
game_list: append filename after program ID
This commit is contained in:
parent
3b18faa163
commit
e5c8b9f0a2
@ -182,8 +182,9 @@ public:
|
|||||||
.replace("\\", "\\\\"));
|
.replace("\\", "\\\\"));
|
||||||
if (installed_system_pattern.exactMatch(QString::fromStdString(path))) {
|
if (installed_system_pattern.exactMatch(QString::fromStdString(path))) {
|
||||||
// Use a different mechanism for system / installed titles showing program ID
|
// Use a different mechanism for system / installed titles showing program ID
|
||||||
second_name =
|
second_name = "000" +
|
||||||
"000" + QString::number(data(ProgramIdRole).toULongLong(), 16).toUpper();
|
QString::number(data(ProgramIdRole).toULongLong(), 16).toUpper() +
|
||||||
|
"-" + QString::fromStdString(filename);
|
||||||
}
|
}
|
||||||
return title + (title.isEmpty() ? "" : "\n ") + second_name;
|
return title + (title.isEmpty() ? "" : "\n ") + second_name;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user