From 8fa494bd3669ce57c4a65663815469699db30145 Mon Sep 17 00:00:00 2001 From: Wilbert Pol Date: Wed, 14 May 2014 15:26:16 +0000 Subject: [PATCH] (MESS) hashfile.c: Make hasfile processing work without a running_machine(). (nw) --- src/emu/hashfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/hashfile.c b/src/emu/hashfile.c index f56504ca783..b20df1018d7 100644 --- a/src/emu/hashfile.c +++ b/src/emu/hashfile.c @@ -543,7 +543,7 @@ bool read_hash_config(device_image_interface &image, const char *sysname, astrin const hash_info *info = NULL; /* open the hash file */ - hashfile = hashfile_open(image.device().machine().options(), sysname, FALSE, NULL); + hashfile = hashfile_open(image.device().mconfig().options(), sysname, FALSE, NULL); if (!hashfile) return false; @@ -568,7 +568,7 @@ bool hashfile_extrainfo(device_image_interface &image, astring &result) /* now read the hash file */ image.crc(); extra_info = NULL; - int drv = driver_list::find(image.device().machine().system()); + int drv = driver_list::find(*image.device().mconfig().options().system()); int compat, open = drv; bool hashfound; do