Previous 15994 Revisions Next

r7222 Monday 1st February, 2010 at 11:50:54 UTC by Dirk Best
More device_delay_init regression fixes
[src/mess/devices]cococart.c
[src/mess/machine]pc_lpt.c

src/mess/devices/cococart.c
r7221r7222
9595   {
9696      cococart->pcb = cartslot_get_pcb(cartslot);
9797      if (cococart->pcb == NULL)
98      {
99         //device_delay_init(device);         
100         return;
101      }
98         throw device_missing_dependencies();
10299
103100      cococart->pcb_r = (read8_device_func) cococart->pcb->get_config_fct(COCOCARTINFO_FCT_FF40_R);
104101      cococart->pcb_w = (write8_device_func) cococart->pcb->get_config_fct(COCOCARTINFO_FCT_FF40_W);
src/mess/machine/pc_lpt.c
r7221r7222
8484   lpt->centronics = device->subdevice("centronics");
8585   assert(lpt->centronics != NULL);
8686
87   /* make sure it's running */
88   if (!lpt->centronics->started)
89   {
90      //device_delay_init(device);
91      return;
92   }
93
9487   /* resolve callbacks */
9588   devcb_resolve_write_line(&lpt->out_irq_func, &intf->out_irq_func, device);
9689

Previous 15994 Revisions Next


© 1998-2018 The MESS Team