mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 15:05:46 +00:00
romfs_factory: Extract packed update setter to new function
This commit is contained in:
parent
91de5d554e
commit
598ca547b2
10 changed files with 38 additions and 9 deletions
|
@ -72,11 +72,10 @@ QString FormatPatchNameVersions(const FileSys::PatchManager& patch_manager,
|
|||
auto ver = kv.second;
|
||||
|
||||
// Display container name for packed updates
|
||||
if (ver == "PACKED" && kv.first == FileSys::PatchType::Update)
|
||||
if (ver == "PACKED" && kv.first == "Update")
|
||||
ver = Loader::GetFileTypeString(loader.GetFileType());
|
||||
|
||||
out.append(
|
||||
fmt::format("{} ({})\n", FileSys::FormatPatchTypeName(kv.first), ver).c_str());
|
||||
out.append(fmt::format("{} ({})\n", kv.first, ver).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue