summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2008-06-05 11:12:33 +0000
committer Nathan Woods <npwoods@mess.org>2008-06-05 11:12:33 +0000
commit5b94cc19d52886c3d39bb28e52320e3553ce796d (patch)
treea4eb239e79553925507d372668023e6797d94d33
parent95ae38db10cde790bb15d82ea3e69db5668210fd (diff)
MESS-specific compilation fix
-rw-r--r--src/emu/cheat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/cheat.c b/src/emu/cheat.c
index 0bdc635c474..83447c7e61f 100644
--- a/src/emu/cheat.c
+++ b/src/emu/cheat.c
@@ -11721,8 +11721,10 @@ static void load_cheat_code(running_machine *machine, char *file_name)
#ifdef MESS
/* check name */
if(TEST_FIELD(cheat_options, SharedCode) && strcmp(machine->gamedrv->parent, "0"))
+ {
if(strcmp(name, machine->gamedrv->parent))
break;
+ }
else
#endif
if(strcmp(name, machine->gamedrv->name))