diff options
author | Wilbert Pol <wilbert@jdg.info> | 2014-05-14 15:26:16 +0000 |
---|---|---|
committer | Wilbert Pol <wilbert@jdg.info> | 2014-05-14 15:26:16 +0000 |
commit | 8fa494bd3669ce57c4a65663815469699db30145 (patch) | |
tree | 7c883c5a44cc6c2528683dfbc5560cf759c8305b | |
parent | f0842fdbfd0170831c360bf72abe18e6a9bca62f (diff) |
(MESS) hashfile.c: Make hasfile processing work without a running_machine(). (nw)
-rw-r--r-- | src/emu/hashfile.c | 4 |
1 files 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 |