mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01: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