Merge pull request #718 from pcercuei/update-lightrec-20230224
[pcsx_rearmed.git] / frontend / plugin.h
1 #ifndef __PLUGIN_H__
2 #define __PLUGIN_H__
3
4 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
5
6 #define PLUGIN_DL_BASE 0xfbad0000
7
8 enum builtint_plugins_e {
9         PLUGIN_GPU,
10         PLUGIN_SPU,
11         PLUGIN_CDR,
12         PLUGIN_PAD,
13         PLUGIN_CDRCIMG,
14 };
15
16 void *plugin_link(enum builtint_plugins_e id, const char *sym);
17 void plugin_call_rearmed_cbs(void);
18
19 #endif /* __PLUGIN_H__ */