X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin.h;h=e7a56453499976ec25597d74685c6f0c2b602cc9;hp=48ab7198b6ac6fabae07ffab1c773e6c50ec950a;hb=HEAD;hpb=e906c010e1bea71ed4df425be97ce45dc777818c;ds=sidebyside diff --git a/frontend/plugin.h b/frontend/plugin.h index 48ab7198..20c622d7 100644 --- a/frontend/plugin.h +++ b/frontend/plugin.h @@ -1,12 +1,22 @@ +#ifndef __PLUGIN_H__ +#define __PLUGIN_H__ + +#ifndef ARRAY_SIZE #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) +#endif #define PLUGIN_DL_BASE 0xfbad0000 enum builtint_plugins_e { PLUGIN_GPU, PLUGIN_SPU, - PLUGIN_CDR, - PLUGIN_PAD, }; void *plugin_link(enum builtint_plugins_e id, const char *sym); +void plugin_call_rearmed_cbs(void); + +struct PadDataS; +long PAD1_readPort(struct PadDataS *); +long PAD2_readPort(struct PadDataS *); + +#endif /* __PLUGIN_H__ */