mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
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:
parent
fd00d5fb31
commit
4074d8cec7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user