mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 14:25:45 +00:00
patch_manager: Add support for NSP packed updates
Reads as Update (NSP) in add-ons
This commit is contained in:
parent
df89cf3541
commit
91de5d554e
2 changed files with 10 additions and 3 deletions
|
@ -69,7 +69,14 @@ QString FormatPatchNameVersions(const FileSys::PatchManager& patch_manager,
|
|||
if (kv.second.empty()) {
|
||||
out.append(fmt::format("{}\n", kv.first).c_str());
|
||||
} else {
|
||||
out.append(fmt::format("{} ({})\n", kv.first, kv.second).c_str());
|
||||
auto ver = kv.second;
|
||||
|
||||
// Display container name for packed updates
|
||||
if (ver == "PACKED" && kv.first == FileSys::PatchType::Update)
|
||||
ver = Loader::GetFileTypeString(loader.GetFileType());
|
||||
|
||||
out.append(
|
||||
fmt::format("{} ({})\n", FileSys::FormatPatchTypeName(kv.first), ver).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue