Merge pull request #252 from raven02/patch-11

Regression fix cellPamf
This commit is contained in:
Alexandro Sánchez Bach 2014-05-19 19:13:18 +02:00
commit 9ce9c3ce21

View file

@ -172,7 +172,7 @@ int cellPamfReaderInitialize(mem_ptr_t<CellPamfReader> pSelf, mem_ptr_t<PamfHead
cellPamf.Warning("cellPamfReaderInitialize(pSelf=0x%x, pAddr=0x%x, fileSize=%d, attribute=0x%x)",
pSelf.GetAddr(), pAddr.GetAddr(), fileSize, attribute);
if (!pSelf.IsGood() || !pAddr.IsGood() || !Memory.IsGoodAddr(pSelf->pAddr))
if (!pSelf.IsGood() || !pAddr.IsGood())
return CELL_PAMF_ERROR_INVALID_ARG;
if (fileSize)
@ -617,4 +617,4 @@ void cellPamf_init()
cellPamf.AddFunc(0x439fba17, cellPamfReaderGetEpIteratorWithTimeStamp);
cellPamf.AddFunc(0x1abeb9d6, cellPamfEpIteratorGetEp);
cellPamf.AddFunc(0x50b83205, cellPamfEpIteratorMove);
}
}