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);
default:
if (add>=0x1f801c00 && add<0x1f801e00) {
- SPU_writeRegister(add, value);
+ SPU_writeRegister(add, value, psxRegs.cycle);
return;
}
default:
// Dukes of Hazard 2 - car engine noise
if (add>=0x1f801c00 && add<0x1f801e00) {
- SPU_writeRegister(add, value&0xffff);
- SPU_writeRegister(add + 2, value>>16);
+ SPU_writeRegister(add, value&0xffff, psxRegs.cycle);
+ SPU_writeRegister(add + 2, value>>16, psxRegs.cycle);
return;
}