src/mess/drivers/coleco.c
| r4641 | r4642 | |
| 113 | 113 | if (!(ipt1 & 0x2000)) data &= 0x08; /* Purple Action Button */ |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | | return ((ipt1 & 0x4000) >> 2) | 0x30 | (data); |
| 116 | return ((ipt1 & 0x4000) >> 8) | 0x30 | (data); |
| 117 | 117 | } |
| 118 | 118 | /* Joystick and fire 2 (SAC Red Button) */ |
| 119 | 119 | else |
| r4641 | r4642 | |
| 176 | 176 | if (!(ipt2 & 0x1000)) data &= 0x04; /* Blue Action Button */ |
| 177 | 177 | if (!(ipt2 & 0x2000)) data &= 0x08; /* Purple Action Button */ |
| 178 | 178 | |
| 179 | | return ((ipt2 & 0x4000) >> 2) | 0x30 | (data); |
| 179 | return ((ipt2 & 0x4000) >> 8) | 0x30 | (data); |
| 180 | 180 | } |
| 181 | 181 | /* Joystick and fire 2*/ |
| 182 | 182 | else |