Merge pull request #790 from tambry/cellPamfAccessViolationFix

Fix cellPamfReaderGetPresentationStartTime access violation
This commit is contained in:
Alexandro Sánchez Bach 2014-09-04 22:03:16 +02:00
commit 3ffc0edac9

View file

@ -181,7 +181,8 @@ int cellPamfReaderInitialize(vm::ptr<CellPamfReader> pSelf, vm::ptr<PamfHeader>
{
pSelf->fileSize = ((u64)pAddr->data_offset << 11) + ((u64)pAddr->data_size << 11);
}
pSelf->pAddr = vm::ptr<PamfHeader>::make(pAddr.addr());
pSelf->pAddr = pAddr;
if (attribute & CELL_PAMF_ATTRIBUTE_VERIFY_ON)
{