notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update inputs on vsync
[pcsx_rearmed.git]
/
frontend
/
plugin.c
diff --git
a/frontend/plugin.c
b/frontend/plugin.c
index
c83da72
..
e2c1ca3
100644
(file)
--- a/
frontend/plugin.c
+++ b/
frontend/plugin.c
@@
-11,6
+11,7
@@
#include "plugin_lib.h"
#include "plugin.h"
#include "plugin_lib.h"
#include "plugin.h"
+#include "../plugins/cdrcimg/cdrcimg.h"
static int dummy_func() {
return 0;
static int dummy_func() {
return 0;
@@
-48,8
+49,8
@@
static uint8_t pad_byte;
static unsigned char PADstartPoll(int pad) {
pad_byte = 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;
}
return 0xFF;
}
@@
-190,6
+191,9
@@
void *plugin_link(enum builtint_plugins_e id, const char *sym)
{
int i;
{
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;
for (i = 0; i < ARRAY_SIZE(plugin_funcs); i++) {
if (id != plugin_funcs[i].id)
continue;