mirror of
https://github.com/holub/mame
synced 2025-06-03 03:16:30 +03:00
replaced char * pointer comparison with strcmp.
This commit is contained in:
parent
2c3c41b08f
commit
0be7db3893
@ -1791,7 +1791,7 @@ static void execute_cheatinit(running_machine *machine, int ref, int params, con
|
|||||||
/* disable double share regions */
|
/* disable double share regions */
|
||||||
if (entry->share != NULL)
|
if (entry->share != NULL)
|
||||||
for (i = 0; i < region_count; i++)
|
for (i = 0; i < region_count; i++)
|
||||||
if (cheat_region[i].share == entry->share)
|
if (strcmp(cheat_region[i].share,entry->share)==0)
|
||||||
cheat_region[region_count].disabled = TRUE;
|
cheat_region[region_count].disabled = TRUE;
|
||||||
|
|
||||||
region_count++;
|
region_count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user