diff options
Diffstat (limited to 'src/mame/drivers/pcat_dyn.cpp')
-rw-r--r-- | src/mame/drivers/pcat_dyn.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/pcat_dyn.cpp b/src/mame/drivers/pcat_dyn.cpp index 416b0fa45af..12ba6bb4d4c 100644 --- a/src/mame/drivers/pcat_dyn.cpp +++ b/src/mame/drivers/pcat_dyn.cpp @@ -159,8 +159,7 @@ DEVICE_INPUT_DEFAULTS_END void pcat_dyn_state::pcat_dyn_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 pcat_dyn_state::pcat_dyn(machine_config &config) |