This commit is contained in:
Stefan Frederik 2021-09-27 10:50:03 +02:00
parent 22715bf505
commit 42de7dcf1f
1 changed files with 2 additions and 2 deletions

View File

@ -785,7 +785,7 @@ void drill_hilight(int mode)
if(propagate_str) {
int n = 1;
const char *propag;
dbg(1, "propagate_logic(): inst=%d propagate_str=%s\n", i, propagate_str);
dbg(1, "drill_hilight(): inst=%d propagate_str=%s\n", i, propagate_str);
while(1) {
propag = find_nth(propagate_str, ',', n);
n++;
@ -1471,7 +1471,7 @@ void logic_set(int value, int num)
break;
}
if(node) {
if(value == -1) {
if(value == -1) { /* toggle */
entry = bus_hilight_lookup(node, 0, XLOOKUP);
if(entry)
newval = (entry->value == LOGIC_1) ? 0 : (entry->value == LOGIC_0) ? 1 : 2;