diff options
author | wilbertpol <wilbertpol@users.noreply.github.com> | 2018-03-03 18:18:08 +0100 |
---|---|---|
committer | Vas Crabb <cuavas@users.noreply.github.com> | 2018-03-04 04:18:08 +1100 |
commit | 3b923d59ccb8d2d8e386392518450006f8e644fe (patch) | |
tree | 73c48568e76d69edbde9f96a3f57d173dd05a747 /src/mame/drivers/europc.cpp | |
parent | 25472091b626bd01ef47f11389a4b2ebe0fc0008 (diff) |
destaticify initializations (nw) (#3289)
* destaticify initializations (nw)
* fix this->set_screen (nw)
Diffstat (limited to 'src/mame/drivers/europc.cpp')
-rw-r--r-- | src/mame/drivers/europc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/europc.cpp b/src/mame/drivers/europc.cpp index ee390c6ff53..7fa2d3cab2e 100644 --- a/src/mame/drivers/europc.cpp +++ b/src/mame/drivers/europc.cpp @@ -512,9 +512,9 @@ ADDRESS_MAP_END /* single built-in 3.5" 720K drive, connector for optional external 3.5" or 5.25" drive */ void europc_pc_state::cfg_builtin_720K(device_t *device) { - device_slot_interface::static_set_default_option(*device->subdevice("fdc:0"), "35dd"); - device_slot_interface::static_set_fixed(*device->subdevice("fdc:0"), true); - device_slot_interface::static_set_default_option(*device->subdevice("fdc:1"), ""); + dynamic_cast<device_slot_interface &>(*device->subdevice("fdc:0")).set_default_option("35dd"); + dynamic_cast<device_slot_interface &>(*device->subdevice("fdc:0")).set_fixed(true); + dynamic_cast<device_slot_interface &>(*device->subdevice("fdc:1")).set_default_option(""); } //Euro PC |