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..a96d6098 100644 --- a/frontend/plugin.h +++ b/frontend/plugin.h @@ -1,4 +1,9 @@ +#ifndef __PLUGIN_H__ +#define __PLUGIN_H__ + +#ifndef ARRAY_SIZE #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) +#endif #define PLUGIN_DL_BASE 0xfbad0000 @@ -7,6 +12,10 @@ enum builtint_plugins_e { PLUGIN_SPU, PLUGIN_CDR, PLUGIN_PAD, + PLUGIN_CDRCIMG, }; void *plugin_link(enum builtint_plugins_e id, const char *sym); +void plugin_call_rearmed_cbs(void); + +#endif /* __PLUGIN_H__ */