frontend: overlay improvements
[pcsx_rearmed.git] / frontend / plugin_lib.h
index 2f6c680..bec16b2 100644 (file)
@@ -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