RSX Debugger, Mem. Viewer and module improvements

* Small cleanup in cellJpgDec and cellPngDec.
* cellPamf added to the project and a few test lines added to
cellPamfGetHeaderSize(2).
* Improved speed of the Raw Image Preview on the the Memory Viewer.
* Now you can click on the shown buffers / textures in the RSX Debugger
in order to see them in full size. More settings added to the tabs.
* Fixed cellFsStat in order to fix the crash aused by opening
directiories. The solution is really *really* ugly. Once vfsDir is
ready, I will replace it with something better.
This commit is contained in:
Alexandro Sánchez Bach 2014-01-05 00:45:44 +01:00
parent 1a43fe5ceb
commit aa9b0d0a31
10 changed files with 173 additions and 105 deletions

View file

@ -17,15 +17,21 @@ enum
CELL_PAMF_ERROR_EP_NOT_FOUND = 0x80610507,
};
int cellPamfGetHeaderSize()
int cellPamfGetHeaderSize(mem8_ptr_t pAddr, u64 fileSize, mem64_t pSize)
{
UNIMPLEMENTED_FUNC(cellPamf);
cellPamf.Warning("cellPamfGetHeaderSize(pAddr=0x%x, fileSize=%d, pSize_addr=0x%x)",
pAddr.GetAddr(), fileSize, pSize.GetAddr());
pSize = 2048; // PAMF headers seem to be always 2048 bytes in size
return CELL_OK;
}
int cellPamfGetHeaderSize2()
int cellPamfGetHeaderSize2(mem8_ptr_t pAddr, u64 fileSize, u32 attribute, mem64_t pSize)
{
UNIMPLEMENTED_FUNC(cellPamf);
cellPamf.Warning("cellPamfGetHeaderSize2(pAddr=0x%x, fileSize=%d, attribute=%d, pSize_addr=0x%x)",
pAddr.GetAddr(), fileSize, attribute, pSize.GetAddr());
pSize = 2048; // PAMF headers seem to be always 2048 bytes in size
return CELL_OK;
}