mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-05 16:49:08 +00:00
Add Legit CIA building
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "common/progress_callback.h"
|
||||
#include "common/swap.h"
|
||||
#include "core/key/key.h"
|
||||
#include "core/ncch/cia_common.h"
|
||||
#include "core/ncch/ncch_container.h"
|
||||
#include "core/ncch/title_metadata.h"
|
||||
#include "core/quick_decryptor.h"
|
||||
@@ -26,12 +27,6 @@ constexpr std::size_t CIA_METADATA_SIZE = 0x3AC0;
|
||||
struct Config;
|
||||
class HashedFile;
|
||||
|
||||
enum class CIABuildType {
|
||||
Standard, /// Decrypted CIA with generalized ticket
|
||||
PirateLegit, /// Uses legit TMD and encryption, but with generalized ticket
|
||||
Legit, /// Fully legit, with personal ticket containing console ID and eshop account
|
||||
};
|
||||
|
||||
class CIABuilder {
|
||||
public:
|
||||
explicit CIABuilder();
|
||||
@@ -122,6 +117,8 @@ private:
|
||||
// The NCCH to abort on
|
||||
std::mutex abort_ncch_mutex;
|
||||
NCCHContainer* abort_ncch{};
|
||||
|
||||
QuickDecryptor decryptor;
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user