src/mess/machine/c64.c
| r3262 | r3263 | |
| 856 | 856 | break; |
| 857 | 857 | |
| 858 | 858 | case 0x03: |
| 859 | | if (input_port_read(Machine, "JOY1_2B") & 0x20) /* Joy1 Button 2 */ |
| 859 | if (which && (input_port_read(Machine, "JOY1_2B") & 0x20)) /* Joy1 Button 2 */ |
| 860 | 860 | pot1 = 0x00; |
| 861 | 861 | break; |
| 862 | 862 | |
| r3262 | r3263 | |
| 877 | 877 | |
| 878 | 878 | switch (controller2) |
| 879 | 879 | { |
| 880 | | case 0x01: |
| 880 | case 0x10: |
| 881 | 881 | if (which) |
| 882 | 882 | pot4 = input_port_read(Machine, "PADDLE4"); |
| 883 | 883 | else |
| 884 | 884 | pot3 = input_port_read(Machine, "PADDLE3"); |
| 885 | 885 | break; |
| 886 | 886 | |
| 887 | | case 0x02: |
| 887 | case 0x20: |
| 888 | 888 | if (which) |
| 889 | 889 | pot4 = input_port_read(Machine, "TRACKY"); |
| 890 | 890 | else |
| 891 | 891 | pot3 = input_port_read(Machine, "TRACKX"); |
| 892 | 892 | break; |
| 893 | 893 | |
| 894 | | case 0x03: |
| 895 | | if (input_port_read(Machine, "JOY2_2B") & 0x20) /* Joy2 Button 2 */ |
| 894 | case 0x30: |
| 895 | if (which && (input_port_read(Machine, "JOY2_2B") & 0x20)) /* Joy2 Button 2 */ |
| 896 | 896 | pot4 = 0x00; |
| 897 | 897 | break; |
| 898 | 898 | |
| 899 | | case 0x04: |
| 899 | case 0x40: |
| 900 | 900 | if (which) |
| 901 | 901 | pot4 = input_port_read(Machine, "LIGHTY"); |
| 902 | 902 | else |