Previous 15994 Revisions Next

r2642 Saturday 17th May, 2008 at 01:16:57 UTC by Robbbert
[PC] europc - fixed assert with pit8253 device.
[src/mess/machine]amstr_pc.c europc.c

src/mess/machine/europc.c
r2641r2642
192192      data=europc_pio.port61;
193193      break;
194194   case 2:
195      if (pit8253_get_output(0,2)) data|=0x20;
195      if (pit8253_get_output(device_list_find_by_tag( machine->config->devicelist, PIT8253, "pit8253" ),2)) data|=0x20;
196196      break;
197197   }
198198   return data;
src/mess/machine/amstr_pc.c
r2641r2642
192192
193193   case 2:
194194      data = pc1640.port62;
195      if (pit8253_get_output(0, 2))
195      if (pit8253_get_output(device_list_find_by_tag( machine->config->devicelist, PIT8253, "pit8253" ), 2))
196196         data |= 0x20;
197197      break;
198198   }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team