set memcard paths, rm dead code
[pcsx_rearmed.git] / frontend / plugin_lib.h
index 02a6240..a1400e9 100644 (file)
@@ -23,7 +23,11 @@ extern void *pl_fbdev_buf;
 
 int   pl_fbdev_init(void);
 int   pl_fbdev_set_mode(int w, int h, int bpp);
-void *pl_fbdev_flip(void);
+void  pl_fbdev_flip(void);
 void  pl_fbdev_finish(void);
 
 void  pl_text_out16(int x, int y, const char *texto, ...);
+
+#ifndef ARRAY_SIZE
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
+#endif