ES: Make sure the TMD and ticket are valid before use

This commit is contained in:
Léo Lam
2017-02-14 13:15:02 +01:00
parent 5104caf6a6
commit 44a3db21e4
3 changed files with 12 additions and 7 deletions

View File

@ -77,7 +77,7 @@ public:
explicit CNANDContentLoader(const std::string& content_name);
~CNANDContentLoader();
bool IsValid() const { return m_Valid; }
bool IsValid() const;
void RemoveTitle() const;
const SNANDContent* GetContentByIndex(int index) const;
const IOS::ES::TMDReader& GetTMD() const { return m_tmd; }