From 2c3c41b08fb63433cbde8719c5fe27f2234e640d Mon Sep 17 00:00:00 2001 From: smf- Date: Sun, 6 Dec 2009 02:03:29 +0000 Subject: [PATCH] fixed compiling after share were changed to a tag, not tested if this is the correct behaviour. --- src/emu/debug/debugcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index e6ddc3d9311..4e8809137b4 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -71,7 +71,7 @@ struct _cheat_region_map { UINT64 offset; UINT64 endoffset; - UINT8 share; + const char *share; UINT8 disabled; }; @@ -1789,7 +1789,7 @@ static void execute_cheatinit(running_machine *machine, int ref, int params, con cheat_region[region_count].disabled = (entry->write.type == AMH_RAM) ? FALSE : TRUE; /* disable double share regions */ - if (entry->share != 0) + if (entry->share != NULL) for (i = 0; i < region_count; i++) if (cheat_region[i].share == entry->share) cheat_region[region_count].disabled = TRUE;