Commit graph

21 commits

Author SHA1 Message Date
Lioncash
52486c12e3 nca: Resolve -Wdiscarded-qualifiers warnings
String literals are always const char arrays of N length (where N is the
number of characters plus the null terminator), given a few functions
were returning by char*, they were casting the const qualifier away,
causing warnings.

This is a safe change, as these are only used with logging functions.
2018-09-02 09:57:19 -04:00
Lioncash
29e27ee831 Mark identifiers as internally linked where appropriate
Makes it more obvious which parts are only used within the translation
unit, and which functions are part of the exposed interface in the
headers (and also has the benefit of allowing better
inlining/optimizing)
2018-08-11 22:49:22 -04:00
Michael Scire
bdbd4f639e Fix bugs in BKTR romfs parsing, keyfile parsing 2018-07-26 12:19:00 -07:00
Michael Scire
221d009277 Add additional warning, bump version to 1.2.0 2018-07-24 00:25:48 -07:00
Michael Scire
37e368b87b Add support for loading external titlekeys file (title.keys) 2018-07-23 22:16:26 -07:00
Michael Scire
2e87aa8a73 Fix XTS/NCA2 support. Add NCA0 support. 2018-07-20 03:03:35 -07:00
Michael Scire
fa2730ef59 Implement npdm -> JSON autogeneration. 2018-05-02 18:35:19 -06:00
Michael Scire
41e6695e6e Add support for NAX0 input files. 2018-04-03 16:26:56 -06:00
Michael Scire
67d09c125b Fix Intersection bucket retrievals 2018-03-31 17:46:28 -06:00
Michael Scire
3d12b43f7b Implement real BKTR support 2018-03-31 16:43:59 -06:00
Michael Scire
a93a926345 Add support for NCA2 (pre-1.0.0 NCAs) 2018-03-14 23:42:34 -06:00
Michael Scire
5271b3ae00 Add more options for Update RomFS 2018-02-12 03:35:48 -08:00
Michael Scire
992d615368 Fix crashes in BKTR edge-cases. 2018-02-07 11:35:14 -08:00
Michael Scire
14471a8c3a Honestly the error output is pretty good... (Closes #2) 2018-02-07 00:31:25 -08:00
Michael Scire
3e1fddd9de Finish Package2 support, add support for INI1, KIP1 (Closes #4) 2018-02-07 00:10:53 -08:00
Michael Scire
0eb41a5f6b Add support for Package1 (#4) 2018-02-06 15:52:48 -08:00
Michael Scire
d762f71f98 Implement header, decrypted NCA saving. 2018-02-03 11:28:08 -08:00
hexkyz
59ccf0455a Port to mbedtls 2018-01-29 18:39:30 +00:00
Michael Scire
0c65ac1e70 Implement --basenca support (closes #1). 2018-01-27 03:24:01 -08:00
Michael Scire
fba6933668 First pass implementation for BKTR support (#1).
Currently, --baseromfs allows to specify a base romfs image.
The base romfs must be dumped using -r for this to work right.

TODO: I would like to add support for --basenca.
2018-01-26 21:31:55 -08:00
Michael Scire
e2c9c1116f First Public commit. 2018-01-24 09:52:25 -08:00