Address compiler warning about switch case falling through.

This commit is contained in:
Andrew Alderwick 2023-03-01 19:24:18 +00:00
parent d12b948e82
commit 075747f2bd
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ uxn_eval(Uxn *u, Uint16 pc)
switch(opcode - (!opcode * (instr >> 5))) {
/* Immediate */
case -0x0: /* BRK */ return 1;
case -0x1: /* JCI */ POP8(b) if(!b) { pc += 2; break; }
case -0x1: /* JCI */ POP8(b) if(!b) { pc += 2; break; } /* else fallthrough */
case -0x2: /* JMI */ pc += PEEK16(u->ram + pc) + 2; break;
case -0x3: /* JSI */ s = u->rst; PUSH16(pc + 2) pc += PEEK16(u->ram + pc) + 2; break;
case -0x4: /* LIT */