Fixed bug that caused DIP switches to be improperly read from game cfg file.

This commit is contained in:
Aaron Giles 2008-05-29 08:28:20 +00:00
parent 650dfb8a28
commit e06d8f3ce8

View File

@ -3520,7 +3520,7 @@ static int load_game_config(running_machine *machine, xml_data_node *portnode, i
const char *tag;
/* read the mask, index, and defvalue attributes */
tag = xml_get_attribute_string(portnode, "port", NULL);
tag = xml_get_attribute_string(portnode, "tag", NULL);
mask = xml_get_attribute_int(portnode, "mask", 0);
defvalue = xml_get_attribute_int(portnode, "defvalue", 0);