removed old code part (nw)

This commit is contained in:
Miodrag Milanovic 2015-11-18 09:57:34 +01:00
parent 05109871be
commit e078b40130
2 changed files with 0 additions and 21 deletions

View File

@ -308,24 +308,6 @@ void running_machine::start()
}
//-------------------------------------------------
// add_dynamic_device - dynamically add a device
//-------------------------------------------------
device_t &running_machine::add_dynamic_device(device_t &owner, device_type type, const char *tag, UINT32 clock)
{
// add the device in a standard manner
device_t *device = const_cast<machine_config &>(m_config).device_add(&owner, tag, type, clock);
// notify this device and all its subdevices that they are now configured
device_iterator iter(root_device());
for (device_t *dev = iter.first(); dev != NULL; dev = iter.next())
if (!dev->configured())
dev->config_complete();
return *device;
}
//-------------------------------------------------
// run - execute the machine
//-------------------------------------------------

View File

@ -193,9 +193,6 @@ public:
inline device_t *device(const char *tag) const { return root_device().subdevice(tag); }
template<class _DeviceClass> inline _DeviceClass *device(const char *tag) { return downcast<_DeviceClass *>(device(tag)); }
// configuration helpers
device_t &add_dynamic_device(device_t &owner, device_type type, const char *tag, UINT32 clock);
// immediate operations
int run(bool firstrun);
void pause();