From: phaseIV Date: Wed, 18 Nov 2015 13:21:07 +0000 (+0100) Subject: enhance neGcon compatibility X-Git-Tag: r24l~863^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b62c0ebccc5257488ef23548610132c988b1bcf4;p=pcsx_rearmed.git enhance neGcon compatibility --- diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c index b3732d29..d251fa74 100644 --- a/libpcsxcore/sio.c +++ b/libpcsxcore/sio.c @@ -117,6 +117,20 @@ void sioWrite8(unsigned char value) { break; } } + // NegCon - Wipeout 3 + if( buf[parp] == 0x23 ) { + switch (value) { + // enter config mode + case 0x43: + buf[1] = 0x79; + break; + + // get status + case 0x45: + buf[1] = 0xf3; + break; + } + } } else padst = 0; return;