src/mess/drivers/glasgow.c
| r6521 | r6522 | |
| 163 | 163 | board_row &= 7; |
| 164 | 164 | |
| 165 | 165 | /* See if we are moving a piece */ |
| 166 | | data = input_port_read(space->machine, keynames[board_row]); |
| 166 | data = input_port_read_safe(space->machine, keynames[board_row], 0xff); |
| 167 | 167 | |
| 168 | 168 | if ((data != 0xff) && (!mouse_down)) |
| 169 | 169 | { |
| r6521 | r6522 | |
| 189 | 189 | mouse_down = 0; |
| 190 | 190 | |
| 191 | 191 | /* See if we are taking a piece off the board */ |
| 192 | | if (!input_port_read(space->machine, "LINE10")) |
| 192 | if (!input_port_read_safe(space->machine, "LINE10", 0xff)) |
| 193 | 193 | mouse_hold = 0; |
| 194 | 194 | |
| 195 | 195 | /* See if any keys pressed */ |