Auto set flags for different gcc versions.
[pcsx_rearmed.git] / frontend / plugin.h
CommitLineData
e906c010 1#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
2
3#define PLUGIN_DL_BASE 0xfbad0000
4
5enum builtint_plugins_e {
6 PLUGIN_GPU,
7 PLUGIN_SPU,
8 PLUGIN_CDR,
9 PLUGIN_PAD,
47bf65ab 10 PLUGIN_CDRCIMG,
e906c010 11};
12
13void *plugin_link(enum builtint_plugins_e id, const char *sym);
201c21e2 14void plugin_call_rearmed_cbs(void);