summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/pc_lpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/pc_lpt.c')
-rw-r--r--src/emu/machine/pc_lpt.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/emu/machine/pc_lpt.c b/src/emu/machine/pc_lpt.c
index d489ad02361..40ae6f1852e 100644
--- a/src/emu/machine/pc_lpt.c
+++ b/src/emu/machine/pc_lpt.c
@@ -6,8 +6,6 @@
#include "emu.h"
#include "pc_lpt.h"
-#include "bus/centronics/covox.h"
-#include "bus/centronics/printer.h"
const device_type PC_LPT = &device_creator<pc_lpt_device>;
@@ -46,14 +44,8 @@ void pc_lpt_device::device_reset()
m_cent_ctrl_out->write(m_control);
}
-static SLOT_INTERFACE_START(pc_centronics)
- SLOT_INTERFACE("printer", CENTRONICS_PRINTER)
- SLOT_INTERFACE("covox", CENTRONICS_COVOX)
- SLOT_INTERFACE("covox_stereo", CENTRONICS_COVOX_STEREO)
-SLOT_INTERFACE_END
-
static MACHINE_CONFIG_FRAGMENT( pc_lpt )
- MCFG_CENTRONICS_ADD("centronics", pc_centronics, "printer")
+ MCFG_CENTRONICS_ADD("centronics", centronics_devices, "printer")
MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")
MCFG_CENTRONICS_FAULT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit3))
MCFG_CENTRONICS_SELECT_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit4))