cdrom: some debugging aid
[pcsx_rearmed.git] / frontend / plugin.h
CommitLineData
908e426c 1#ifndef __PLUGIN_H__
2#define __PLUGIN_H__
3
e906c010 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,
47bf65ab 13 PLUGIN_CDRCIMG,
e906c010 14};
15
16void *plugin_link(enum builtint_plugins_e id, const char *sym);
201c21e2 17void plugin_call_rearmed_cbs(void);
908e426c 18
19#endif /* __PLUGIN_H__ */