#include "plugin_lib.h"
#include "plugin.h"
+#include "../plugins/cdrcimg/cdrcimg.h"
static int dummy_func() {
return 0;
static unsigned char PADstartPoll(int pad) {
pad_byte = 0;
- pad_buf[2] = keystate;
- pad_buf[3] = keystate >> 8;
+ pad_buf[2] = ~keystate;
+ pad_buf[3] = ~keystate >> 8;
return 0xFF;
}
{
int i;
+ if (id == PLUGIN_CDRCIMG)
+ return cdrcimg_get_sym(sym);
+
for (i = 0; i < ARRAY_SIZE(plugin_funcs); i++) {
if (id != plugin_funcs[i].id)
continue;