Pablo Curiel
bd98fd4c32
Replace unnecessary strlen() calls with pointer dereferences or calculations using info available at runtime (when possible).
...
This should probably improve performance a little bit in certain sections.
2020-10-14 20:06:53 -04:00
Pablo Curiel
5b22fe07f2
More code cleanup.
2020-10-14 14:58:33 -04:00
Pablo Curiel
ba4fdcd01c
Code cleanup.
...
* Added 'encrypted_header' members to both NcaContext and NcaFsSectionContext. In-place re-encryption isn't desirable in this case.
* Fixed FsAccessControl-related type naming for ACI0 blocks.
2020-10-13 10:00:03 -04:00
Pablo Curiel
d1f0361725
Update NPDM structs (thanks to 0Liam) + LegalInformation XML retrieval.
...
From now on, I'll delete code from the legacy codebase directory as soon as specific features from it are rewritten... Because it's a mess to navigate.
2020-10-09 05:58:53 -04:00
Pablo Curiel
1c15a096b5
Codestyle fixes + prepare code for NPDM support.
2020-10-08 14:31:09 -04:00
Pablo Curiel
e943e84380
Unified XML generator + finished NACP parsing.
...
Big thanks to 0Liam.
2020-10-06 11:41:26 -04:00
Pablo Curiel
2859f26cb3
NACP: add NeighborDetectionClientConfiguration and RequiredAddOnContentsSetBinaryDescriptor to XML generation.
...
This is tentative. I need to look into how these fields are really parsed / appended to the XML.
2020-10-06 02:00:18 -04:00
Pablo Curiel
1e41148c02
NACP parsing (part 2).
...
NeighborDetectionClientConfiguration and RequiredAddOnContentsSetBinaryDescriptor haven't been implemented (yet).
2020-10-04 03:05:05 -04:00
Pablo Curiel
d385d40862
NACP parsing (part 1).
...
God, I'm so tired. I'll go play some good old MGS3 and continue this stuff at a later time. It builds, though.
2020-10-03 13:09:29 -04:00