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