Code: Select all
/**
* Get Display Framebuffer information
*
* @param topaddr - pointer to void* to receive address of start of framebuffer
* @param bufferwidth - pointer to int to receive buffer width (must be power of 2)
* @param pixelformat - pointer to int to receive one of ::PspDisplayPixelFormats.
* @param unk1 - pointer to int, receives unknown, always 1? (vblank sync?)
*/
int sceDisplayGetFrameBuf(void **topaddr, int *bufferwidth, int *pixelformat, int *unk1);
Code: Select all
/**
* Get Display Framebuffer information
*
* @param topaddr - pointer to void* to receive address of start of framebuffer
* @param bufferwidth - pointer to int to receive buffer width (must be power of 2)
* @param pixelformat - pointer to int to receive one of ::PspDisplayPixelFormats.
* @param sync - pointer to int to receive one of ::PspDisplaySetBufSync.
*/
int sceDisplayGetFrameBuf(void **topaddr, int *bufferwidth, int *pixelformat, int *sync);