1
0
mirror of https://github.com/mist64/perfect6502.git synced 2024-06-03 09:29:32 +00:00

Merge pull request #4 from drfiemost/master

Fix setNode function
This commit is contained in:
Michael Steil 2017-01-18 12:39:52 +01:00 committed by GitHub
commit 98026be01f

View File

@ -615,12 +615,11 @@ stabilizeChip(state_t *state)
void
setNode(state_t *state, nodenum_t nn, BOOL s)
{
BOOL oldstate = get_nodes_pullup(state, nn);
if (s != oldstate) {
set_nodes_pullup(state, nn, s);
set_nodes_pulldown(state, nn, !s);
listout_add(state, nn);
}
recalcNodeList(state);
}
BOOL