Fix for Armored Core misdetecting a Link cable being detected (#223)
authorgameblabla <gameblabla@users.noreply.github.com>
Sat, 2 Oct 2021 14:39:44 +0000 (14:39 +0000)
committerGitHub <noreply@github.com>
Sat, 2 Oct 2021 14:39:44 +0000 (17:39 +0300)
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
simplier fix is done here instead.

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

index 84ce2f7..dbcb989 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);