IOS/ESFormats: Use SignedBlobReader for TMDs and tickets

This commit is contained in:
Léo Lam
2017-06-11 13:24:45 +02:00
parent 2ec04675c9
commit 6c3069be97
10 changed files with 24 additions and 86 deletions

View File

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