commit cdb0f0e
neauoire
·
2023-08-25 20:06:00 +0000 UTC
parent e0ad8f1
(uxn.c) Removed unnecessary negation
1 files changed,
+1,
-1
+1,
-1
1@@ -43,7 +43,7 @@ uxn_eval(Uxn *u, Uint16 pc)
2 k = ins & 0x80 ? 0xff : 0;
3 s = ins & 0x40 ? &u->rst : &u->wst;
4 ptr = s->dat + s->ptr - 1;
5- switch(!(ins & 0x1f) ? (0 - (ins >> 5)) & 0xff : ins & 0x3f) {
6+ switch(ins & 0x1f ? ins & 0x3f : (0 - (ins >> 5)) & 0xff) {
7 /* IMM */
8 case 0x00: /* BRK */ return 1;
9 case 0xff: /* JCI */ if(!s->dat[--s->ptr]) { pc += 2; break; } /* else fallthrough */