Turn min into macro
[pcsx_rearmed.git] / frontend / plugin.h
... / ...
CommitLineData
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,
10 PLUGIN_CDRCIMG,
11};
12
13void *plugin_link(enum builtint_plugins_e id, const char *sym);
14void plugin_call_rearmed_cbs(void);