From 767bd23c708295f0c4023d132bcef12634329bb8 Mon Sep 17 00:00:00 2001 From: smf- Date: Sat, 28 May 2011 09:01:15 +0000 Subject: [PATCH] fixed access violation when running -verifyroms * in the visual studio debugger. --- src/emu/audit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/audit.c b/src/emu/audit.c index 8fa3287d4c5..edf8500af1d 100644 --- a/src/emu/audit.c +++ b/src/emu/audit.c @@ -95,7 +95,7 @@ const char *driverpath = m_enumerator.config().devicelist().find("root")->search for (const rom_entry *region = rom_first_region(*source); region != NULL; region = rom_next_region(region)) { // temporary hack: add the driver path & region name -astring combinedpath(m_searchpath, ";", driverpath); +astring combinedpath(source->searchpath(), ";", driverpath); if(ROMREGION_ISLOADBYNAME(region)) { combinedpath=combinedpath.cat(";");