Add in NCCH, TMD and SMDH from Citra (to get game title)

This commit is contained in:
zhupengfei
2019-09-27 22:11:27 +08:00
parent d55af0108e
commit 895cbb272c
15 changed files with 1328 additions and 6 deletions
+10
View File
@@ -103,18 +103,28 @@ public:
private:
bool Init();
bool ImportTitle(u64 id, const ProgressCallback& callback);
bool ImportSavegame(u64 id, const ProgressCallback& callback);
bool ImportExtdata(u64 id, const ProgressCallback& callback);
bool ImportSysdata(u64 id, const ProgressCallback& callback);
void ListTitle(std::vector<ContentSpecifier>& out) const;
void ListExtdata(std::vector<ContentSpecifier>& out) const;
void ListSysdata(std::vector<ContentSpecifier>& out) const;
void DeleteTitle(u64 id) const;
void DeleteSavegame(u64 id) const;
void DeleteExtdata(u64 id) const;
void DeleteSysdata(u64 id) const;
/**
* Loads the English short title name of a title.
* @param path Path of the 'content' folder relative to the SDMC root folder.
* Required to end with '/'.
*/
std::string LoadTitleName(const std::string& path) const;
bool is_good{};
Config config;
std::unique_ptr<SDMCDecryptor> decryptor;