mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
ES: Make sure the TMD and ticket are valid before use
This commit is contained in:
parent
5104caf6a6
commit
44a3db21e4
3 changed files with 12 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue