X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.h;fp=frontend%2Fplugin_lib.h;h=4984d30543cd038541261086ceb4df5d492a360c;hp=3f8b5c41353cd252dd1945feee919696ddf63c40;hb=308c6e678a2f0a56a9dee35307070550354f580c;hpb=7b9a83e8ae6b60682d3898fb6394c53c4673dd0a diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 3f8b5c41..4984d305 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); @@ -107,6 +107,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;