allow for TMDs which are larger than needed
quick hack fix to allow DSiWare games to work again, proper fix is to remove the extra 0x700 bytes of certificates in the tmd db which aren't needed
This commit is contained in:
parent
15d663f68d
commit
a1ec56d748
Binary file not shown.
|
@ -72,9 +72,9 @@ const char* InitNAND(bool clearNand, bool dsiWare)
|
|||
return "Failed to obtain TMD!";
|
||||
}
|
||||
|
||||
if (tmdData->second != sizeof(DSi_TMD::TitleMetadata))
|
||||
if (tmdData->second < sizeof(DSi_TMD::TitleMetadata))
|
||||
{
|
||||
return "TMD is not the correct size!";
|
||||
return "TMD is too small!";
|
||||
}
|
||||
|
||||
DSi_TMD::TitleMetadata tmd;
|
||||
|
|
Loading…
Reference in New Issue