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