IOS/ESFormats: Use SignedBlobReader for TMDs and tickets

This commit is contained in:
Léo Lam committed 2017-06-14 22:45:29 +02:00
1 parent 2ec04675c9
commit 6c3069be97
10 files changed
+24 -86

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ IPCCommandResult DI::IOCtlV(const IOCtlVRequest& request)
// Read TMD to the buffer
const IOS::ES::TMDReader tmd = DVDThread::GetTMD(partition);
const std::vector<u8> raw_tmd = tmd.GetRawTMD();
const std::vector<u8>& raw_tmd = tmd.GetBytes();
Memory::CopyToEmu(request.io_vectors[0].address, raw_tmd.data(), raw_tmd.size());
ES::DIVerify(tmd, DVDThread::GetTicket(partition));