mirror of
https://github.com/holub/mame
synced 2025-06-01 18:41:47 +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 */
|
||||
if (entry->share != NULL)
|
||||
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;
|
||||
|
||||
region_count++;
|
||||
|
Loading…
Reference in New Issue
Block a user