X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin.h;h=a96d6098d2afe3bfc7ec35da8b34a389d4643ad6;hb=refs%2Fheads%2Fmaster;hp=48ab7198b6ac6fabae07ffab1c773e6c50ec950a;hpb=e906c010e1bea71ed4df425be97ce45dc777818c;p=pcsx_rearmed.git 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__ */