Fix for Armored Core misdetecting a Link cable being detected
authorgameblabla <gameblabla@protonmail.com>
Sat, 2 Oct 2021 02:37:04 +0000 (04:37 +0200)
committergameblabla <gameblabla@protonmail.com>
Sat, 2 Oct 2021 02:37:04 +0000 (04:37 +0200)
For some reason, the game detects that a link cable is plugged in
and disables the local multiplayer as a result.

Thanks @sony for fixing the issue in their PS Classic branch, a
simpler fix is done here instead.

Co-authored-by: Sony
libpcsxcore/psxhw.c

index c90f8c7..5981ee5 100644 (file)
@@ -123,7 +123,14 @@ u16 psxHwRead16(u32 add) {
                        return hard;
                case 0x1f80105e:
                        hard = SIO1_readBaud16();
-                       return hard;\r
+                       return hard;
+#else
+               /* Fixes Armored Core misdetecting the Link cable being detected.
+                * We want to turn that thing off and force it to do local multiplayer instead.
+                * Thanks Sony for the fix, they fixed it in their PS Classic fork.
+                */
+               case 0x1f801054:
+                       return 0x80;\r
 #endif
                case 0x1f801100:
                        hard = psxRcntRcount(0);