Commit graph

8 commits

Author SHA1 Message Date
Michael Scire
e37d4d2da2 Fix trailing spaces 2020-01-15 02:07:22 -08:00
Lioncash
0318763fe8
general: Silence -Wnewline-eof warnings
These warnings occur when building with the default template on macOS.
2019-05-05 00:27:37 -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
Lioncash
515cbb67c5 nax0: Add missing semicolon to return in nax0_save()
This slipped through before I was able to amend it in the PR.
2018-08-11 22:23:32 -04:00
Lioncash
ff6c8eba11 nax0: Close file descriptor in nax0_save() when done with it
Avoids a resource leak.
2018-08-11 21:40:08 -04:00
Lioncash
17ada97b05 nax0: Invert conditionals within nax0_save()
Allows unindenting most of the code within the function to be nicer to
follow.
2018-08-11 21:39:10 -04:00
Alex Barney
1856b5db23 Fix NAX0 decryption
Decryption would fail because the encrypted file wasn't always a multiple of the encryption sector length.
This makes sure the data to be decrypted is a multiple of the sector length.
2018-06-14 11:54:19 -05:00
Michael Scire
41e6695e6e Add support for NAX0 input files. 2018-04-03 16:26:56 -06:00