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/magtouch.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/magtouch.cpp')
-rw-r--r-- | src/mame/drivers/magtouch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/magtouch.cpp b/src/mame/drivers/magtouch.cpp index 5be7b28db81..9649d47af2e 100644 --- a/src/mame/drivers/magtouch.cpp +++ b/src/mame/drivers/magtouch.cpp @@ -189,8 +189,7 @@ DEVICE_INPUT_DEFAULTS_END void magtouch_state::magtouch_sb_conf(device_t *device) { - device = device->subdevice("pc_joy"); - MCFG_DEVICE_SLOT_INTERFACE(pc_joysticks, nullptr, true) // remove joystick + device->subdevice<pc_joy_device>("pc_joy")->set_default_option(nullptr); // remove joystick } void magtouch_state::magtouch(machine_config &config) |