6 void psp_msleep(int ms);
8 #define PSP_VRAM_BASE0 ((void *) 0x44000000)
9 #define PSP_VRAM_BASE1 ((void *) 0x44044000)
11 void *psp_video_get_active_fb(void);
12 void psp_video_switch_to_single(void);
13 void psp_video_flip(int wait_vsync);
14 extern void *psp_screen;
16 unsigned int psp_pad_read(int blocking);
18 int psp_get_cpu_clock(void);
19 int psp_set_cpu_clock(int clock);
21 /* shorter btn names */
22 #define BTN_UP PSP_CTRL_UP
23 #define BTN_LEFT PSP_CTRL_LEFT
24 #define BTN_RIGHT PSP_CTRL_RIGHT
25 #define BTN_DOWN PSP_CTRL_DOWN
26 #define BTN_L PSP_CTRL_LTRIGGER
27 #define BTN_R PSP_CTRL_RTRIGGER
28 #define BTN_TRIANGLE PSP_CTRL_TRIANGLE
29 #define BTN_CIRCLE PSP_CTRL_CIRCLE
30 #define BTN_X PSP_CTRL_CROSS
31 #define BTN_SQUARE PSP_CTRL_SQUARE
32 #define BTN_SELECT PSP_CTRL_SELECT
33 #define BTN_START PSP_CTRL_START
34 #define BTN_NOTE PSP_CTRL_NOTE