0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2025-01-07 08:01:17 +00:00

Fix compiler suggestion.

This commit is contained in:
Andrew Alderwick 2022-01-05 14:37:37 +00:00
parent 291cb3d1a2
commit 0fd288de79

View file

@ -100,8 +100,8 @@ uxn_eval(Uxn *u, Uint16 pc)
err:
/* set 1 in errcode if it involved the return stack instead of the working stack */
/* (stack overflow & (opcode was STH / JSR)) ^ Return Mode */
errcode |= ((errcode >> 1 & (instr & 0x1e) == 0x0e) ^ instr >> 6) & 1;
/* (stack overflow & ( opcode was STH / JSR )) ^ Return Mode */
errcode |= ((errcode >> 1 & ((instr & 0x1e) == 0x0e)) ^ instr >> 6) & 1;
return uxn_halt(u, errcode, pc - 1);
}