X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fpsp.h;h=07d4093c9493850f7a64da2c1f62b89fb9e9365f;hb=2b90fc61e0907707c60bb01d97645b6afc22d4ae;hp=cece8cf9ef8a28ad49229a84121207bd5612c3f9;hpb=2951214ea65ce2e2ac40671511b8d5a9ea2d2842;p=libpicofe.git diff --git a/psp/psp.h b/psp/psp.h index cece8cf..07d4093 100644 --- a/psp/psp.h +++ b/psp/psp.h @@ -8,12 +8,15 @@ void psp_msleep(int ms); #define PSP_VRAM_BASE0 ((void *) 0x44000000) #define PSP_VRAM_BASE1 ((void *) 0x44044000) -void psp_video_switch_to_single(void); -void psp_video_flip(void); +void *psp_video_get_active_fb(void); +void psp_video_switch_to_single(void); +void psp_video_flip(int wait_vsync); extern void *psp_screen; -unsigned int psp_pad_read(void); +unsigned int psp_pad_read(int blocking); +int psp_get_cpu_clock(void); +int psp_set_cpu_clock(int clock); /* shorter btn names */ #define BTN_UP PSP_CTRL_UP