X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpsp%2Fpsp.h;h=7269863b9817fc7478517603d2bcc3dfc1b3579d;hb=053fd9b42f2cf38194f78e37c373363fc9cb9933;hp=7f2d70d0ce559adc15de7bf73929c56892d713a0;hpb=9caf44b59bf20d0beb614d4249cf908c7fb7434d;p=picodrive.git diff --git a/platform/psp/psp.h b/platform/psp/psp.h index 7f2d70d..7269863 100644 --- a/platform/psp/psp.h +++ b/platform/psp/psp.h @@ -1,3 +1,8 @@ +// (c) Copyright 2007 notaz, All rights reserved. +// Free for non-commercial use. + +// For commercial use, separate licencing terms must be obtained. + #include void psp_init(void); @@ -25,6 +30,7 @@ void psp_msleep(int ms); #define GU_CMDLIST_SIZE (16*1024) extern unsigned int guCmdList[GU_CMDLIST_SIZE]; +extern int psp_unhandled_suspend; void *psp_video_get_active_fb(void); void psp_video_switch_to_single(void); @@ -38,6 +44,9 @@ int psp_set_cpu_clock(int clock); char *psp_get_status_line(void); +void psp_wait_suspend(void); +void psp_resume_suspend(void); + /* shorter btn names */ #define BTN_UP PSP_CTRL_UP #define BTN_LEFT PSP_CTRL_LEFT