vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Functions | |
VITASDK_BUILD_ASSERT_EQ (8, SceCompatCdram) | |
VITASDK_BUILD_ASSERT_EQ (0x10, SceCtrlDataPsp) | |
int | sceCompatInitEx (int unk) |
Init compat. More... | |
int | sceCompatUninit (void) |
Uninit compat. More... | |
int | sceCompatStart (void) |
Start compat. More... | |
int | sceCompatStop (void) |
Stop compat. More... | |
int | sceCompatAllocCdramWithHole (SceCompatCdram *cdram) |
Allocate cdram with hole. More... | |
int | sceCompatFrameBufferInit (void *framebuffer) |
Framebuffer init. More... | |
int | sceCompatSetSuspendSema (SceUID semaid1, SceUID semaid2) |
Set suspend semaphores. More... | |
int | sceCompatSuspendResume (int unk) |
Suspend/resume compat. More... | |
int | sceCompatCache (int mode, void *addr, SceSize size) |
Cache operation. More... | |
int | sceCompatWaitSpecialRequest (int unk) |
Wait for special request. More... | |
int | sceCompatInterrupt (int intr_code) |
Interrupt code. More... | |
int | sceCompatLCDCSync (void) |
LCDC sync. More... | |
int | sceCompatGetPrimaryHead (void) |
Get primary head. More... | |
int | sceCompatGetPeripheralState (int mode) |
Get peripheral state. More... | |
int | sceCompatGetStatus (void) |
Get compat status. More... | |
int | sceCompatGetUpdateState (void) |
Get update state. More... | |
int | sceCompatSetUpdateState (int state) |
Set update state. More... | |
int | sceCompatSetDisplayConfig (int unk0, int unk1) |
Set display config. More... | |
int | sceCompatSetRif (const char *rif) |
Set RIF name. More... | |
int | sceCompatGetPspSystemSoftwareVersion (void) |
Get PSP system software version. More... | |
int | sceCompatAvailableColorSpaceSetting (void) |
Get color space setting availability. More... | |
int | sceCompatCheckPocketStation (void) |
Check if pocket station application is available. More... | |
int | sceCompatIsPocketStationTitle (void) |
Check if current title is a pocket station game. More... | |
int | sceCompatWaitAndGetRequest (int mode, int id) |
Wait for command and get request. More... | |
int | sceCompatReadShared32 (int location, int *value) |
Read from shared sram. More... | |
int | sceCompatWriteShared32 (int location, int value) |
Write to shared sram. More... | |
int | sceCompatWriteSharedCtrl (SceCtrlDataPsp *pad_data) |
Write shared control. More... | |
int | sceCompatGetTitleList (void *buf, SceSize length) |
Get title list. More... | |
int | sceCompatGetDevInf (SceIoDevInfo *info) |
Get Memory Card device information. More... | |
int | sceCompatGetCurrentSecureTick (SceRtcTick *tick) |
Get current secure tick. More... | |
struct SceCtrlDataPsp |
enum SceCompatCacheMode |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
SceCompatCdram | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
SceCtrlDataPsp | |||
) |
int sceCompatInitEx | ( | int | unk | ) |
Init compat.
[in] | unk | - Unknown, pass 0 |
int sceCompatUninit | ( | void | ) |
Uninit compat.
int sceCompatStart | ( | void | ) |
Start compat.
int sceCompatStop | ( | void | ) |
Stop compat.
int sceCompatAllocCdramWithHole | ( | SceCompatCdram * | cdram | ) |
Allocate cdram with hole.
[out] | cdram | - A pointer to a SceCompatCdram structure. |
int sceCompatFrameBufferInit | ( | void * | framebuffer | ) |
Framebuffer init.
[in] | framebuffer | - Pointer to framebuffer |
Set suspend semaphores.
[in] | semaid1 | - Semaphore id 1 |
[in] | semaid2 | - Semaphore id 2 |
int sceCompatSuspendResume | ( | int | unk | ) |
Suspend/resume compat.
[in] | unk | - Unknown, pass 1 |
int sceCompatCache | ( | int | mode, |
void * | addr, | ||
SceSize | size | ||
) |
Cache operation.
[in] | mode | - One of SceCompatCacheMode |
[in] | addr | - Address |
[in] | size | - Size |
int sceCompatWaitSpecialRequest | ( | int | unk | ) |
Wait for special request.
[in] | unk | - Unknown, pass 1 |
int sceCompatInterrupt | ( | int | intr_code | ) |
Interrupt code.
[in] | intr_code | - Interrupt code |
int sceCompatLCDCSync | ( | void | ) |
LCDC sync.
int sceCompatGetPrimaryHead | ( | void | ) |
Get primary head.
int sceCompatGetPeripheralState | ( | int | mode | ) |
Get peripheral state.
[in] | mode | - One of SceCompatPeripheralMode |
int sceCompatGetStatus | ( | void | ) |
Get compat status.
int sceCompatGetUpdateState | ( | void | ) |
Get update state.
int sceCompatSetUpdateState | ( | int | state | ) |
Set update state.
[in] | state | - State |
int sceCompatSetDisplayConfig | ( | int | unk0, |
int | unk1 | ||
) |
Set display config.
[in] | unk0 | - Unknown |
[in] | unk1 | - Unknown |
int sceCompatSetRif | ( | const char * | rif | ) |
Set RIF name.
[in] | rif | - RIF name (max. 36 chars) |
int sceCompatGetPspSystemSoftwareVersion | ( | void | ) |
Get PSP system software version.
int sceCompatAvailableColorSpaceSetting | ( | void | ) |
Get color space setting availability.
int sceCompatCheckPocketStation | ( | void | ) |
Check if pocket station application is available.
int sceCompatIsPocketStationTitle | ( | void | ) |
Check if current title is a pocket station game.
int sceCompatWaitAndGetRequest | ( | int | mode, |
int | id | ||
) |
Wait for command and get request.
[in] | mode | - Mode |
[in] | id | - ID |
int sceCompatReadShared32 | ( | int | location, |
int * | value | ||
) |
Read from shared sram.
[in] | location | - Location |
[out] | value | - Pointer to a int buffer to hold the value |
int sceCompatWriteShared32 | ( | int | location, |
int | value | ||
) |
Write to shared sram.
[in] | location | - Location |
[in] | value | - Value |
int sceCompatWriteSharedCtrl | ( | SceCtrlDataPsp * | pad_data | ) |
Write shared control.
[in] | info | - A pointer to a SceCtrlDataPsp structure. |
int sceCompatGetTitleList | ( | void * | buf, |
SceSize | length | ||
) |
Get title list.
[out] | buf | - A 100 bytes buffer for the title list |
[in] | length | - Must be 100 |
int sceCompatGetDevInf | ( | SceIoDevInfo * | info | ) |
Get Memory Card device information.
[out] | info | - A pointer to a SceIoDevInfo structure. |
int sceCompatGetCurrentSecureTick | ( | SceRtcTick * | tick | ) |
Get current secure tick.
[out] | tick | - A pointer to a SceRtcTick structure. |