diff options
author | Fabio Priuli <etabeta78@users.noreply.github.com> | 2014-05-16 16:40:38 +0000 |
---|---|---|
committer | Fabio Priuli <etabeta78@users.noreply.github.com> | 2014-05-16 16:40:38 +0000 |
commit | 1def3c2c9eb2f7638e3fbd10707f545bdc88dbff (patch) | |
tree | a5dc1fe092363a1be32842a8061ed714ace81943 /src/emu/bus/ti99_peb/ti_fdc.c | |
parent | d1a012603cfcdd6f72a94f81e27bf97b1acc8bbd (diff) |
converted micropolis and wd17xx to use inline configs. nw.
Diffstat (limited to 'src/emu/bus/ti99_peb/ti_fdc.c')
-rw-r--r-- | src/emu/bus/ti99_peb/ti_fdc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/emu/bus/ti99_peb/ti_fdc.c b/src/emu/bus/ti99_peb/ti_fdc.c index d8c21278bfd..fd64890ad2f 100644 --- a/src/emu/bus/ti99_peb/ti_fdc.c +++ b/src/emu/bus/ti99_peb/ti_fdc.c @@ -438,11 +438,6 @@ const device_type TI99_FDC = &device_creator<ti_fdc_device>; #define TI_FDCLEG_TAG "ti_dssd_controller_legacy" #define FDCLEG_TAG "wd1771" -const wd17xx_interface ti_wd17xx_interface = -{ - { PFLOPPY_0, PFLOPPY_1, PFLOPPY_2, NULL } -}; - ti_fdc_legacy_device::ti_fdc_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ti_expansion_card_device(mconfig, TI99_FDC_LEG, "TI-99 Standard DSSD Floppy Controller LEGACY", tag, owner, clock, "ti99_fdc_leg", __FILE__), m_fd1771(*this, FDCLEG_TAG) { } @@ -720,7 +715,8 @@ void ti_fdc_legacy_device::device_reset(void) } MACHINE_CONFIG_FRAGMENT( ti_fdc_legacy ) - MCFG_FD1771_ADD(FDCLEG_TAG, ti_wd17xx_interface ) + MCFG_DEVICE_ADD(FDCLEG_TAG, FD1771, 0) + MCFG_WD17XX_DRIVE_TAGS(PFLOPPY_0, PFLOPPY_1, PFLOPPY_2, NULL) MCFG_WD17XX_INTRQ_CALLBACK(WRITELINE(ti_fdc_legacy_device, intrq_w)) MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(ti_fdc_legacy_device, drq_w)) MACHINE_CONFIG_END |