7 #ifndef _PSP2_COMPAT_H_
8 #define _PSP2_COMPAT_H_
uint32_t length
Definition: bt.h:7
int sceCompatWaitAndGetRequest(int mode, int id)
Wait for command and get request.
int sceCompatWaitSpecialRequest(int unk)
Wait for special request.
int sceCompatSetSuspendSema(SceUID semaid1, SceUID semaid2)
Set suspend semaphores.
unsigned int Buttons
Definition: compat.h:40
int sceCompatStart(void)
Start compat.
int sceCompatIsPocketStationTitle(void)
Check if current title is a pocket station game.
int sceCompatSetUpdateState(int state)
Set update state.
int sceCompatGetCurrentSecureTick(SceRtcTick *tick)
Get current secure tick.
int sceCompatGetUpdateState(void)
Get update state.
int sceCompatUninit(void)
Uninit compat.
int sceCompatCheckPocketStation(void)
Check if pocket station application is available.
int sceCompatAllocCdramWithHole(SceCompatCdram *cdram)
Allocate cdram with hole.
int sceCompatStop(void)
Stop compat.
int sceCompatGetStatus(void)
Get compat status.
int sceCompatReadShared32(int location, int *value)
Read from shared sram.
int sceCompatInitEx(int unk)
Init compat.
int sceCompatLCDCSync(void)
LCDC sync.
int sceCompatWriteShared32(int location, int value)
Write to shared sram.
int sceCompatCache(int mode, void *addr, SceSize size)
Cache operation.
SceCompatPeripheralMode
Definition: compat.h:25
VITASDK_BUILD_ASSERT_EQ(8, SceCompatCdram)
SceCompatCacheMode
Definition: compat.h:19
int sceCompatGetPrimaryHead(void)
Get primary head.
int sceCompatAvailableColorSpaceSetting(void)
Get color space setting availability.
unsigned int TimeStamp
Definition: compat.h:39
unsigned char Ly
Definition: compat.h:42
int sceCompatInterrupt(int intr_code)
Interrupt code.
unsigned char Ry
Definition: compat.h:44
int sceCompatSuspendResume(int unk)
Suspend/resume compat.
int sceCompatGetPeripheralState(int mode)
Get peripheral state.
void * cached_cdram
Definition: compat.h:33
int sceCompatGetPspSystemSoftwareVersion(void)
Get PSP system software version.
int sceCompatSetRif(const char *rif)
Set RIF name.
int sceCompatWriteSharedCtrl(SceCtrlDataPsp *pad_data)
Write shared control.
int sceCompatGetTitleList(void *buf, SceSize length)
Get title list.
int sceCompatFrameBufferInit(void *framebuffer)
Framebuffer init.
unsigned char Lx
Definition: compat.h:41
unsigned char Rsrv[4]
Definition: compat.h:45
unsigned char Rx
Definition: compat.h:43
int sceCompatSetDisplayConfig(int unk0, int unk1)
Set display config.
void * uncached_cdram
Definition: compat.h:34
int sceCompatGetDevInf(SceIoDevInfo *info)
Get Memory Card device information.
@ SCE_COMPAT_PERIPHERAL_POWER_GET_BATTERY_PERCENT
Definition: compat.h:28
@ SCE_COMPAT_PERIPHERAL_POWER_IS_SUSPEND_REQUIRED
Definition: compat.h:26
@ SCE_COMPAT_PERIPHERAL_POWER_GET_BATTERY_LIFETIME
Definition: compat.h:27
@ SCE_COMPAT_PERIPHERAL_HPREMOTE_IS_HEADPHONE_EXIST
Definition: compat.h:29
@ SCE_COMPAT_CACHE_NONE
Definition: compat.h:20
@ SCE_COMPAT_CACHE_INVALIDATE
Definition: compat.h:21
@ SCE_COMPAT_CACHE_WRITEBACK
Definition: compat.h:22
Definition: iofilemgr.h:17
SceSize size
struct size(variable size)
Definition: debug.h:0
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90
unsigned int unk0
Definition: usbd.h:0
unsigned short unk1
Definition: usbd.h:1