enhance neGcon compatibility
authorphaseIV <phaseIV@users.noreply.github.com>
Wed, 18 Nov 2015 13:21:07 +0000 (14:21 +0100)
committerphaseIV <phaseIV@users.noreply.github.com>
Wed, 18 Nov 2015 13:21:07 +0000 (14:21 +0100)
libpcsxcore/sio.c

index b3732d2..d251fa7 100644 (file)
@@ -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;