| 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 |
| r7221 | r7222 | |
|---|---|---|
| 95 | 95 | { |
| 96 | 96 | cococart->pcb = cartslot_get_pcb(cartslot); |
| 97 | 97 | if (cococart->pcb == NULL) |
| 98 | { | |
| 99 | //device_delay_init(device); | |
| 100 | return; | |
| 101 | } | |
| 98 | throw device_missing_dependencies(); | |
| 102 | 99 | |
| 103 | 100 | cococart->pcb_r = (read8_device_func) cococart->pcb->get_config_fct(COCOCARTINFO_FCT_FF40_R); |
| 104 | 101 | cococart->pcb_w = (write8_device_func) cococart->pcb->get_config_fct(COCOCARTINFO_FCT_FF40_W); |
| r7221 | r7222 | |
|---|---|---|
| 84 | 84 | lpt->centronics = device->subdevice("centronics"); |
| 85 | 85 | assert(lpt->centronics != NULL); |
| 86 | 86 | |
| 87 | /* make sure it's running */ | |
| 88 | if (!lpt->centronics->started) | |
| 89 | { | |
| 90 | //device_delay_init(device); | |
| 91 | return; | |
| 92 | } | |
| 93 | ||
| 94 | 87 | /* resolve callbacks */ |
| 95 | 88 | devcb_resolve_write_line(&lpt->out_irq_func, &intf->out_irq_func, device); |
| 96 | 89 |
| Previous | 15994 Revisions | Next |