X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=e48ed521864b0e4d33406d82a1d922193bf7b385;hb=ec4baa7d5d08c244066f11638298e20e37f91368;hp=71dfcb58cbeb15f1cd71645b24adc0d7ea13bcdb;hpb=c765eb86debdc06fe304511bc2edbb6f3e3d7813;p=pcsx_rearmed.git diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 71dfcb58..e48ed521 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -54,7 +54,7 @@ struct rearmed_cbs { int (*pl_vout_open)(void); void (*pl_vout_set_mode)(int w, int h, int raw_w, int raw_h, int bpp); void (*pl_vout_flip)(const void *vram, int stride, int bgr24, - int w, int h); + int x, int y, int w, int h, int dims_changed); void (*pl_vout_close)(void); void *(*mmap)(unsigned int size); void (*munmap)(void *ptr, unsigned int size); @@ -70,6 +70,8 @@ struct rearmed_cbs { // gpu options int frameskip; int fskip_advice; + int fskip_force; + int fskip_dirty; unsigned int *gpu_frame_count; unsigned int *gpu_hcnt; unsigned int flip_cnt; // increment manually if not using pl_vout_flip @@ -108,6 +110,9 @@ struct rearmed_cbs { } gpu_peopsgl; // misc int gpu_caps; + int screen_centering_type; // 0 - auto, 1 - game conrolled, 2 - manual + int screen_centering_x; + int screen_centering_y; }; extern struct rearmed_cbs pl_rearmed_cbs;