mirror of
https://github.com/holub/mame
synced 2025-05-25 23:35:26 +03:00
MESS-specific fix
This commit is contained in:
parent
089dbdbd25
commit
aa14505377
@ -11759,8 +11759,10 @@ static void LoadCheatCode(running_machine *machine, char * fileName)
|
|||||||
#ifdef MESS
|
#ifdef MESS
|
||||||
/* check name */
|
/* check name */
|
||||||
if(TEST_FIELD(cheatOptions, SharedCode) && strcmp(machine->gamedrv->parent, "0"))
|
if(TEST_FIELD(cheatOptions, SharedCode) && strcmp(machine->gamedrv->parent, "0"))
|
||||||
|
{
|
||||||
if(strcmp(name, machine->gamedrv->parent))
|
if(strcmp(name, machine->gamedrv->parent))
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
if(strcmp(name, machine->gamedrv->name))
|
if(strcmp(name, machine->gamedrv->name))
|
||||||
|
Loading…
Reference in New Issue
Block a user