summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2009-12-06 02:03:29 +0000
committer smf- <smf-@users.noreply.github.com>2009-12-06 02:03:29 +0000
commit2c3c41b08fb63433cbde8719c5fe27f2234e640d (patch)
tree15ec25f5a9a78b1d5b3a035708a8fed1d9ad2829 /src/emu/debug/debugcmd.c
parent0fd8c755fff9be7c54f936f546708bc960d9e8f0 (diff)
fixed compiling after share were changed to a tag, not tested if this is the correct behaviour.
Diffstat (limited to 'src/emu/debug/debugcmd.c')
-rw-r--r--src/emu/debug/debugcmd.c4
1 files 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;