Update pkg.cpp

fix code style non-compliance
This commit is contained in:
Mariuspersen 2024-09-01 00:03:33 +02:00 committed by GitHub
parent ba89552373
commit d920a9e544
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -258,8 +258,7 @@ bool PKG::Extract(const std::filesystem::path& filepath, const std::filesystem::
// Retrieve PFSC from decrypted pfs_image.
pfsc_offset = GetPFSCOffset(pfs_decrypted);
if (pfsc_offset == (u32)-1)
{
if (pfsc_offset == (u32)-1) {
failreason = "Could not retrieve PFSC from decrypted pfs_image";
return false;
}