mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
added device shortname to DRC UML log for systems with multiple DRCs (nw)
e.g. n64
This commit is contained in:
parent
b4e8437573
commit
6adba2caa0
@ -128,7 +128,10 @@ drcuml_state::drcuml_state(device_t &device, drc_cache &cache, UINT32 flags, int
|
|||||||
{
|
{
|
||||||
// if we're to log, create the logfile
|
// if we're to log, create the logfile
|
||||||
if (device.machine().options().drc_log_uml())
|
if (device.machine().options().drc_log_uml())
|
||||||
m_umllog = fopen("drcuml.asm", "w");
|
{
|
||||||
|
astring filename("drcuml_", m_device.shortname(), ".asm");
|
||||||
|
m_umllog = fopen(filename.cstr(), "w");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user