mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
ES: Make sure the TMD and ticket are valid before use
This commit is contained in:
@@ -156,6 +156,11 @@ CNANDContentLoader::~CNANDContentLoader()
|
||||
{
|
||||
}
|
||||
|
||||
bool CNANDContentLoader::IsValid() const
|
||||
{
|
||||
return m_Valid && m_tmd.IsValid();
|
||||
}
|
||||
|
||||
const SNANDContent* CNANDContentLoader::GetContentByIndex(int index) const
|
||||
{
|
||||
for (auto& Content : m_Content)
|
||||
|
||||
Reference in New Issue
Block a user