}\r
else if(phase == 3) {\r
if (out_bits & 0x40)\r
- return (pad & 0x30) | ((pad >> 8) & 0xf); // ?1CB MXYZ\r
+ value = (pad & 0x30) | ((pad >> 8) & 0xf); // ?1CB MXYZ\r
else\r
- return ((pad & 0xc0) >> 2) | 0x0f; // ?0SA 1111\r
+ value = ((pad & 0xc0) >> 2) | 0x0f; // ?0SA 1111\r
goto out;\r
}\r
\r
// disables output before doing TH-low read, so don't emulate it for TH.\r
// Decap Attack reportedly doesn't work on Nomad but works on must\r
// other MD revisions (different pull-up strength?).\r
- if (PicoIn.AHW & PAHW_32X) // don't do it on 32X, it breaks WWF Raw\r
+ if (PicoIn.AHW & (PAHW_32X|PAHW_MCD)) // don't do it on 32X, it breaks WWF Raw\r
out |= 0x7f & ~ctrl_reg;\r
else\r
out |= 0x3f & ~ctrl_reg;\r