spu: handle stop better, split main func more
[pcsx_rearmed.git] / frontend / plugin.h
1 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
2
3 #define PLUGIN_DL_BASE 0xfbad0000
4
5 enum builtint_plugins_e {
6         PLUGIN_GPU,
7         PLUGIN_SPU,
8         PLUGIN_CDR,
9         PLUGIN_PAD,
10         PLUGIN_CDRCIMG,
11 };
12
13 void *plugin_link(enum builtint_plugins_e id, const char *sym);
14 void plugin_call_rearmed_cbs(void);