psxbios: assorted changes
[pcsx_rearmed.git] / frontend / plugin.h
... / ...
CommitLineData
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
8enum builtint_plugins_e {
9 PLUGIN_GPU,
10 PLUGIN_SPU,
11 PLUGIN_CDR,
12 PLUGIN_PAD,
13 PLUGIN_CDRCIMG,
14};
15
16void *plugin_link(enum builtint_plugins_e id, const char *sym);
17void plugin_call_rearmed_cbs(void);
18
19#endif /* __PLUGIN_H__ */