diff options
author | 2019-07-02 20:30:21 +0200 | |
---|---|---|
committer | 2019-07-02 20:30:37 +0200 | |
commit | b6ce2e16d867b21119ce36f6e108d0866f396089 (patch) | |
tree | 16c3b1bfd5d9011b366ded7f10baef32c440651c /src/mame/drivers/amstr_pc.cpp | |
parent | 0b8733206a1f6d3c931171c18f2200b2eb5a2b87 (diff) |
-core: Removed almost all MCFG defines, and removed all remaining MACHINE_CONFIG_START/END uses. [Ryan Holtz]
Diffstat (limited to 'src/mame/drivers/amstr_pc.cpp')
-rw-r--r-- | src/mame/drivers/amstr_pc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/amstr_pc.cpp b/src/mame/drivers/amstr_pc.cpp index 3abea11e6d8..2ecd557bcca 100644 --- a/src/mame/drivers/amstr_pc.cpp +++ b/src/mame/drivers/amstr_pc.cpp @@ -35,6 +35,7 @@ More information can be found at http://www.seasip.info/AmstradXT/1640tech/index #include "bus/isa/isa.h" #include "bus/isa/isa_cards.h" #include "bus/pc_joy/pc_joy.h" +#include "bus/rs232/rs232.h" #include "machine/pckeybrd.h" #include "machine/pc_lpt.h" @@ -487,9 +488,8 @@ INPUT_PORTS_END void amstrad_pc_state::cfg_com(device_t *device) { - /* has it's own mouse */ - device = device->subdevice("serport0"); - MCFG_SLOT_DEFAULT_OPTION(nullptr) + /* has its own mouse */ + device->subdevice<rs232_port_device>("serport0")->set_default_option(nullptr); } void amstrad_pc_state::cfg_fdc(device_t *device) |