mirror of
https://github.com/mist64/perfect6502.git
synced 2024-06-25 20:29:40 +00:00
This commit is contained in:
parent
4142ac152e
commit
aed0d9a3c3
|
@ -615,12 +615,11 @@ stabilizeChip(state_t *state)
|
||||||
void
|
void
|
||||||
setNode(state_t *state, nodenum_t nn, BOOL s)
|
setNode(state_t *state, nodenum_t nn, BOOL s)
|
||||||
{
|
{
|
||||||
BOOL oldstate = get_nodes_pullup(state, nn);
|
set_nodes_pullup(state, nn, s);
|
||||||
if (s != oldstate) {
|
set_nodes_pulldown(state, nn, !s);
|
||||||
set_nodes_pullup(state, nn, s);
|
listout_add(state, nn);
|
||||||
set_nodes_pulldown(state, nn, !s);
|
|
||||||
listout_add(state, nn);
|
recalcNodeList(state);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
|
|
Loading…
Reference in New Issue
Block a user