mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Fix cellPamfReaderGetPresentationStartTime access violation
Should also fix access violations for other cellPamf functions
This commit is contained in:
parent
2084665cc1
commit
cef2c59ae2
1 changed files with 2 additions and 1 deletions
|
@ -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->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)
|
if (attribute & CELL_PAMF_ATTRIBUTE_VERIFY_ON)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue