mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
discrete.c: fixed a state saving bug
This commit is contained in:
parent
20caff1c3b
commit
c2f7c33479
@ -838,7 +838,8 @@ static void init_nodes(discrete_info *info, linked_list_entry *block_list, const
|
||||
add_list(info, &step_list, node);
|
||||
|
||||
/* and register save state */
|
||||
state_save_register_device_item_array(device, node->node, node->output);
|
||||
if (node->node != NODE_SPECIAL)
|
||||
state_save_register_device_item_array(device, node->node, node->output);
|
||||
}
|
||||
|
||||
/* if no outputs, give an error */
|
||||
|
Loading…
Reference in New Issue
Block a user