X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin.c;h=ca359d7dcc4dba783fe618099e0418ad489d134c;hp=c83da729eaaec2de2675d4be2108c3e74665e060;hb=ccf51908872ddeb811b1245e6751600b860d90b5;hpb=4b421010647aba998fe2ebfc7d6f226623d47954 diff --git a/frontend/plugin.c b/frontend/plugin.c index c83da729..ca359d7d 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -48,8 +48,8 @@ static uint8_t pad_byte; 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; }