From 6adba2caa0094ed97e626d9cd4a46ea06ed05e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Fri, 7 Nov 2014 11:34:19 +0100 Subject: added device shortname to DRC UML log for systems with multiple DRCs (nw) e.g. n64 --- src/emu/cpu/drcuml.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"); + } } -- cgit v1.2.3