X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=71dfcb58cbeb15f1cd71645b24adc0d7ea13bcdb;hb=c765eb86debdc06fe304511bc2edbb6f3e3d7813;hp=09cc4c568cd8c042020183d3ec0a49543aac14bb;hpb=7dea987c9689c441d8148b9523871f3fbbca2804;p=pcsx_rearmed.git diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 09cc4c56..71dfcb58 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -1,3 +1,9 @@ +#ifndef __PLUGIN_LIB_H__ +#define __PLUGIN_LIB_H__ + +#define THREAD_RENDERING_OFF 0 +#define THREAD_RENDERING_SYNC 1 +#define THREAD_RENDERING_ASYNC 2 enum { DKEY_SELECT = 0, @@ -68,6 +74,7 @@ struct rearmed_cbs { unsigned int *gpu_hcnt; unsigned int flip_cnt; // increment manually if not using pl_vout_flip unsigned int only_16bpp; // platform is 16bpp-only + unsigned int thread_rendering; struct { int allow_interlace; // 0 off, 1 on, 2 guess int enhancement_enable; @@ -91,6 +98,7 @@ struct rearmed_cbs { int abe_hack; int no_light, no_blend; int lineskip; + int scale_hires; } gpu_unai; struct { int dwActFixes; @@ -118,3 +126,5 @@ extern void (*pl_plat_hud_print)(int x, int y, const char *str, int bpp); #ifndef ARRAY_SIZE #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) #endif + +#endif /* __PLUGIN_LIB_H__ */