diff options
| author | 2018-08-24 23:47:46 -0400 | |
|---|---|---|
| committer | 2018-08-24 23:47:46 -0400 | |
| commit | 6426b0f5514d6a7c5cc369368947eceb380bfc85 (patch) | |
| tree | b7acdc39a4344570a6f2c098c30ad20114bf84db /src/core/loader/loader.h | |
| parent | Merge pull request #1065 from DarkLordZach/window-title (diff) | |
| parent | file_sys/crypto: Fix missing/unnecessary includes (diff) | |
| download | yuzu-6426b0f5514d6a7c5cc369368947eceb380bfc85.tar.gz yuzu-6426b0f5514d6a7c5cc369368947eceb380bfc85.tar.xz yuzu-6426b0f5514d6a7c5cc369368947eceb380bfc85.zip | |
Merge pull request #1094 from DarkLordZach/nax0
file_sys: Add support for NAX archives
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index b74cfbf8a..885fee84c 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h | |||
| @@ -32,6 +32,7 @@ enum class FileType { | |||
| 32 | NRO, | 32 | NRO, |
| 33 | NCA, | 33 | NCA, |
| 34 | XCI, | 34 | XCI, |
| 35 | NAX, | ||
| 35 | DeconstructedRomDirectory, | 36 | DeconstructedRomDirectory, |
| 36 | }; | 37 | }; |
| 37 | 38 | ||
| @@ -93,6 +94,19 @@ enum class ResultStatus : u16 { | |||
| 93 | ErrorLoadingNRO, | 94 | ErrorLoadingNRO, |
| 94 | ErrorNoIcon, | 95 | ErrorNoIcon, |
| 95 | ErrorNoControl, | 96 | ErrorNoControl, |
| 97 | ErrorBadNAXHeader, | ||
| 98 | ErrorIncorrectNAXFileSize, | ||
| 99 | ErrorNAXKeyHMACFailed, | ||
| 100 | ErrorNAXValidationHMACFailed, | ||
| 101 | ErrorNAXKeyDerivationFailed, | ||
| 102 | ErrorNAXInconvertibleToNCA, | ||
| 103 | ErrorBadNAXFilePath, | ||
| 104 | ErrorMissingSDSeed, | ||
| 105 | ErrorMissingSDKEKSource, | ||
| 106 | ErrorMissingAESKEKGenerationSource, | ||
| 107 | ErrorMissingAESKeyGenerationSource, | ||
| 108 | ErrorMissingSDSaveKeySource, | ||
| 109 | ErrorMissingSDNCAKeySource, | ||
| 96 | }; | 110 | }; |
| 97 | 111 | ||
| 98 | std::ostream& operator<<(std::ostream& os, ResultStatus status); | 112 | std::ostream& operator<<(std::ostream& os, ResultStatus status); |