mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 05:29:30 +00:00
Fixes #92, skip verifying SaveDataOwnerIdList against ACID as this is never populated.
This commit is contained in:
parent
b4a86fc826
commit
c7fe8bcd0f
1 changed files with 4 additions and 0 deletions
|
@ -157,6 +157,9 @@ void nstool::MetaProcess::validateAciFromAcid(const pie::hac::AccessControlInfo&
|
|||
}
|
||||
}
|
||||
|
||||
// See https://github.com/jakcron/nstool/issues/92
|
||||
// Nintendo doesn't populate SaveDataOwnerIdList in ACID, so this field cannot be verified
|
||||
#if 0
|
||||
for (size_t i = 0; i < aci.getFileSystemAccessControl().getSaveDataOwnerIdList().size(); i++)
|
||||
{
|
||||
bool rightFound = false;
|
||||
|
@ -172,6 +175,7 @@ void nstool::MetaProcess::validateAciFromAcid(const pie::hac::AccessControlInfo&
|
|||
fmt::print("[WARNING] ACI/FAC SaveDataOwnerId: FAIL (0x{:016x} ({:d}) not permitted)\n", aci.getFileSystemAccessControl().getSaveDataOwnerIdList()[i].id, (uint32_t)aci.getFileSystemAccessControl().getSaveDataOwnerIdList()[i].access_type);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// check SAC
|
||||
for (size_t i = 0; i < aci.getServiceAccessControl().getServiceList().size(); i++)
|
||||
|
|
Loading…
Reference in a new issue