summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Oliver Stöneberg <oliverst@online.de>2014-11-07 11:34:19 +0100
committer Oliver Stöneberg <oliverst@online.de>2014-11-07 11:34:19 +0100
commit6adba2caa0094ed97e626d9cd4a46ea06ed05e85 (patch)
tree51a6e1b19f820af4765040871b4de49f599acbc5
parentb4e84375732a6097919140ac714e5bd5e2de3e85 (diff)
added device shortname to DRC UML log for systems with multiple DRCs (nw)
e.g. n64
-rw-r--r--src/emu/cpu/drcuml.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/cpu/drcuml.c b/src/emu/cpu/drcuml.c
index 2e56b7a4c47..a261a9dfaad 100644
--- a/src/emu/cpu/drcuml.c
+++ b/src/emu/cpu/drcuml.c
@@ -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 (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");
+ }
}