From b62c0ebccc5257488ef23548610132c988b1bcf4 Mon Sep 17 00:00:00 2001 From: phaseIV Date: Wed, 18 Nov 2015 14:21:07 +0100 Subject: enhance neGcon compatibility --- libpcsxcore/sio.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libpcsxcore/sio.c') diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c index b3732d2..d251fa7 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; -- cgit v1.2.3