X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=e48ed521864b0e4d33406d82a1d922193bf7b385;hb=ec4baa7d5d08c244066f11638298e20e37f91368;hp=7caa87c8c655b17442718b07a55714b96535cd49;hpb=e4072f7f86a2ce035593856fd5854f316843fb39;p=pcsx_rearmed.git diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 7caa87c8..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); @@ -110,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;