X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin.h;fp=frontend%2Fplugin.h;h=48ab7198b6ac6fabae07ffab1c773e6c50ec950a;hp=0000000000000000000000000000000000000000;hb=e906c010e1bea71ed4df425be97ce45dc777818c;hpb=f2bd6ff85d23f3e421b2f30f86080d71d4e95046 diff --git a/frontend/plugin.h b/frontend/plugin.h new file mode 100644 index 00000000..48ab7198 --- /dev/null +++ b/frontend/plugin.h @@ -0,0 +1,12 @@ +#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) + +#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);