PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
screenshot.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ps2_screenshot_file (const char *pFilename, unsigned int VramAdress, unsigned int Width, unsigned int Height, unsigned int Psm)
 
int ps2_screenshot (void *pTemp, unsigned int VramAdress, unsigned int x, unsigned int y, unsigned int Width, unsigned int Height, unsigned int Psm)
 

Detailed Description

Screenshot prototypes.

Definition in file screenshot.h.

Function Documentation

◆ ps2_screenshot_file()

int ps2_screenshot_file ( const char * pFilename,
unsigned int VramAdress,
unsigned int Width,
unsigned int Height,
unsigned int Psm )
extern

Definition at line 84 of file screenshot.c.

◆ ps2_screenshot()

int ps2_screenshot ( void * pDest,
unsigned int VramAdress,
unsigned int x,
unsigned int y,
unsigned int Width,
unsigned int Height,
unsigned int Psm )
extern

Downloads vram back to host

Parameters
pDestTemporary storeage for the screen (allocated by user)
VramAdresspointer to where in vram to transfer from (wordaddress/64)
WidthWidth of Screen
HeightWidth of Screen
PsmPixelformat of screen

Definition at line 181 of file screenshot.c.