IOS/ES: Verify containers in ImportTitleInit

This commit is contained in:
Léo Lam
2017-06-11 22:05:58 +02:00
parent 719af1aff4
commit 8a49e1f7db
3 changed files with 33 additions and 6 deletions

View File

@ -28,7 +28,7 @@ bool InstallWAD(const std::string& wad_path)
IOS::HLE::Device::ES::Context context;
if (es->ImportTicket(wad.GetTicket().GetBytes(), wad.GetCertificateChain()) < 0 ||
es->ImportTitleInit(context, tmd.GetBytes()) < 0)
es->ImportTitleInit(context, tmd.GetBytes(), wad.GetCertificateChain()) < 0)
{
PanicAlertT("WAD installation failed: Could not initialise title import.");
return false;