X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=bec16b234eee38d506943f7da60884114cae0fea;hp=2f6c680ed01d9d4ea37093ccb9ead6546fd4d769;hb=c9099d020a1e523d97541f426f7d44da1392526f;hpb=a83762012066e4799394f63d08a161a45f982ab6 diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 2f6c680e..bec16b23 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -93,6 +93,12 @@ enum gpu_plugin_caps { GPU_CAP_SUPPORTS_2X = (1 << 1), }; +// platform hooks +extern void (*pl_plat_clear)(void); +extern void (*pl_plat_blit)(int doffs, const void *src, + int w, int h, int sstride, int bgr24); +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