X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=c3273487e2433afdec86015ebf4fb607a98284de;hp=6cb1ecdbf2d19e83ae78c2fd9cf6310f9cce2e0e;hb=55b0eeea6028e00741e620d28ab3211c49b8515f;hpb=76f7048eff4f5357df048268e40b5bc6b9387fe5 diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 6cb1ecdb..c3273487 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -22,11 +22,13 @@ extern int in_keystate, in_state_gun, in_a1[2], in_a2[2]; void in_update_analogs(void); extern void *pl_vout_buf; +extern int pl_flip_cnt; void pl_text_out16(int x, int y, const char *texto, ...); void pl_start_watchdog(void); void *pl_prepare_screenshot(int *w, int *h, int *bpp); void pl_init(void); +void pl_print_hud(int w, int h); void pl_timing_prepare(int is_pal); void pl_frame_limit(void); @@ -39,6 +41,9 @@ struct rearmed_cbs { void *(*pl_vout_set_mode)(int w, int h, int bpp); void *(*pl_vout_flip)(void); void (*pl_vout_close)(void); + // these are only used by some frontends + void (*pl_vout_raw_flip)(int x, int y); + void (*pl_vout_set_raw_vram)(void *vram); // gpu options int frameskip; int fskip_advice; @@ -48,6 +53,10 @@ struct rearmed_cbs { float fFrameRateHz; int dwFrameRateTicks; } gpu_peops; + struct { + int abe_hack; + int no_light, no_blend; + } gpu_unai; }; extern struct rearmed_cbs pl_rearmed_cbs;