01827: All sets in galaga.c: DIP switch information is not being readded properly when .CFG is read.

* commit 1728 got lost somehow - reapplied
This commit is contained in:
Couriersud 2008-06-10 19:32:13 +00:00
parent fd00d5fb31
commit 4074d8cec7

View File

@ -3543,7 +3543,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);