From 31349a6a299d3cab115f34f8e262c69762c0d0f4 Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 30 Mar 2023 22:41:50 -0400 Subject: amstrad.cpp: Use standard list of slot options for Centronics port --- src/mame/amstrad/amstrad.cpp | 13 +------------ src/mame/amstrad/amstrad.h | 6 ------ 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/mame/amstrad/amstrad.cpp b/src/mame/amstrad/amstrad.cpp index 479bbc86651..68cae48764c 100644 --- a/src/mame/amstrad/amstrad.cpp +++ b/src/mame/amstrad/amstrad.cpp @@ -904,17 +904,6 @@ void aleste_exp_cards(device_slot_interface &device) device.option_add("magicsound", AL_MAGICSOUND); } -void amstrad_centronics_devices(device_slot_interface &device) -{ - device.option_add("pl80", COMX_PL80); - device.option_add("ex800", EPSON_EX800); - device.option_add("lx800", EPSON_LX800); - device.option_add("lx810l", EPSON_LX810L); - device.option_add("ap2000", EPSON_AP2000); - device.option_add("printer", CENTRONICS_PRINTER); - device.option_add("digiblst", CENTRONICS_DIGIBLASTER); -} - void amstrad_state::amstrad_base(machine_config &config) { /* Machine hardware */ @@ -960,7 +949,7 @@ void amstrad_state::amstrad_base(machine_config &config) m_ay->add_route(ALL_OUTPUTS, "mono", 0.25); /* printer */ - CENTRONICS(config, m_centronics, amstrad_centronics_devices, "printer"); + CENTRONICS(config, m_centronics, centronics_devices, "printer"); m_centronics->busy_handler().set(FUNC(amstrad_state::write_centronics_busy)); /* snapshot */ diff --git a/src/mame/amstrad/amstrad.h b/src/mame/amstrad/amstrad.h index 984b4d97ca7..cab79b679c8 100644 --- a/src/mame/amstrad/amstrad.h +++ b/src/mame/amstrad/amstrad.h @@ -38,12 +38,6 @@ #include "machine/ram.h" #include "imagedev/cassette.h" #include "bus/centronics/ctronics.h" -#include "bus/centronics/comxpl80.h" -#include "bus/centronics/epson_ex800.h" -#include "bus/centronics/epson_lx800.h" -#include "bus/centronics/epson_lx810l.h" -#include "bus/centronics/printer.h" -#include "bus/centronics/digiblst.h" #include "bus/generic/slot.h" #include "bus/generic/carts.h" #include "emupal.h" -- cgit v1.2.3