mirror of
https://github.com/wiiu-env/launchiine.git
synced 2024-11-22 01:39:18 +01:00
Only update the name of a title if it's empty
This commit is contained in:
parent
57a1a34bea
commit
6e041490d6
@ -138,6 +138,7 @@ void GameList::updateTitleInfo() {
|
||||
|
||||
bool hasChanged = false;
|
||||
|
||||
if(newHeader->name.empty()) {
|
||||
ACPMetaXml* meta = (ACPMetaXml*)calloc(1, 0x4000); //TODO fix wut
|
||||
if(meta) {
|
||||
auto acp = ACPGetTitleMetaXml(newHeader->titleId, meta);
|
||||
@ -147,6 +148,7 @@ void GameList::updateTitleInfo() {
|
||||
}
|
||||
free(meta);
|
||||
}
|
||||
}
|
||||
|
||||
if(newHeader->imageData == NULL) {
|
||||
std::string filepath = "fs:" + newHeader->gamePath + META_PATH + "/iconTex.tga";
|
||||
|
Loading…
Reference in New Issue
Block a user