frontend: update libpicofe, fix missed callbacks
[pcsx_rearmed.git] / frontend / plugin.h
CommitLineData
7a8d521f 1#ifndef __PLUGIN_H__
2#define __PLUGIN_H__
3
e0216409 4#ifndef ARRAY_SIZE
e906c010 5#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
e0216409 6#endif
e906c010 7
8#define PLUGIN_DL_BASE 0xfbad0000
9
10enum builtint_plugins_e {
11 PLUGIN_GPU,
12 PLUGIN_SPU,
e906c010 13};
14
15void *plugin_link(enum builtint_plugins_e id, const char *sym);
201c21e2 16void plugin_call_rearmed_cbs(void);
7a8d521f 17
aa4cdd73 18struct PadDataS;
19long PAD1_readPort(struct PadDataS *);
20long PAD2_readPort(struct PadDataS *);
21
7a8d521f 22#endif /* __PLUGIN_H__ */