X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=frontend%2Fplat.h;h=8a296ea49d12e3ae83cbc9e9c6fce4f5e7dc3bde;hb=HEAD;hp=85290cd4579bf33b1f1cb8cd76691303ad31075a;hpb=478216725b77d1c7fd45d972e3c596134633adba;p=pcsx_rearmed.git diff --git a/frontend/plat.h b/frontend/plat.h index 85290cd4..8a296ea4 100644 --- a/frontend/plat.h +++ b/frontend/plat.h @@ -1,5 +1,15 @@ +#ifndef __PLAT_H__ +#define __PLAT_H__ + +void plat_init(void); +void plat_finish(void); +void plat_minimize(void); void *plat_prepare_screenshot(int *w, int *h, int *bpp); -int plat_rescan_inputs(void); -int plat_cpu_clock_get(void); -int plat_cpu_clock_apply(int cpu_clock); -int plat_get_bat_capacity(void); + +// indirectly called from GPU plugin +void plat_gvideo_open(int is_pal); +void *plat_gvideo_set_mode(int *w, int *h, int *bpp); +void *plat_gvideo_flip(void); +void plat_gvideo_close(void); + +#endif /* __PLAT_H__ */