src/mess/drivers/fmtowns.c
| r7468 | r7469 | |
| 757 | 757 | if(towns_pad_mask & 0x10) |
| 758 | 758 | ret |= (input_port_read(space->machine,"joy1") & 0x3f) | 0x00000040; |
| 759 | 759 | else |
| 760 | | ret |= 0x0000003f; |
| 760 | ret |= (input_port_read(space->machine,"joy1") & 0x0f) | 0x00000030; |
| 761 | 761 | |
| 762 | 762 | if(towns_pad_mask & 0x20) |
| 763 | 763 | ret |= ((input_port_read(space->machine,"joy2") & 0x3f) << 16) | 0x00400000; |
| 764 | 764 | else |
| 765 | | ret |= 0x003f0000; |
| 765 | ret |= ((input_port_read(space->machine,"joy2") & 0x0f) << 16) | 0x00300000; |
| 766 | 766 | |
| 767 | 767 | if(extra1 & 0x01) // Run button = left+right |
| 768 | 768 | ret &= ~0x0000000c; |