aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.h
diff options
context:
space:
mode:
authornotaz2010-12-25 21:29:45 +0200
committernotaz2010-12-25 21:29:53 +0200
commit4f3639fab62fa95f4bdc620b2e3500e717a0fcf3 (patch)
tree9c7942b833f2b6c39ec7afd44d10f1c3436b92fd /frontend/plugin_lib.h
parenta7ce1fc5856aa569f831dc3f41d4d812374e95b5 (diff)
downloadpcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.tar.gz
pcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.tar.bz2
pcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.zip
menu: add config save/load
Diffstat (limited to 'frontend/plugin_lib.h')
-rw-r--r--frontend/plugin_lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h
index cfb9bd1..a1400e9 100644
--- a/frontend/plugin_lib.h
+++ b/frontend/plugin_lib.h
@@ -27,3 +27,7 @@ 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