Previous 15994 Revisions Next

r11396 Saturday 30th April, 2011 at 22:48:08 UTC by R. Belmont
Sync over MAME CL #12347, also helps with -listxml. (no whatsnew)
[src/emu]machine.c

src/emu/machine.c
r11395r11396
345345device_t &running_machine::add_dynamic_device(device_t &owner, device_type type, const char *tag, UINT32 clock)
346346{
347347   // allocate and append this device
348   astring tempstring;
349   device_t &device = const_cast<device_list &>(devicelist()).append(owner.subtag(tempstring, tag), *type(m_config, owner.subtag(tempstring, tag), &owner, clock));
348   astring fulltag;
349   owner.subtag(fulltag, tag);
350   device_t &device = const_cast<device_list &>(devicelist()).append(fulltag, *type(m_config, fulltag, &owner, clock));
350351
351352   // append any machine config additions from new devices
352353   for (device_t *curdevice = devicelist().first(); curdevice != NULL; curdevice = curdevice->next())

Previous 15994 Revisions Next


© 1998-2018 The MESS Team