uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 124d0bf193ab8473a53c970c89bf39876cfb1429
parent d9861c1a0443ed80927889cf1d1f13934734067d
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Sun, 18 Feb 2024 21:24:21 -0800

(cores/abc) Removed unreachable case

Diffstat:
Metc/cores/uxn-abc.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/cores/uxn-abc.c b/etc/cores/uxn-abc.c @@ -36,7 +36,7 @@ uxn_eval(Uxn *u, Uint16 pc) /* r */ Stack *s = ins & 0x40 ? &u->rst : &u->wst; /* k */ if(ins & 0x80) kp = s->ptr, sp = &kp; else sp = &s->ptr; switch(ins & 0x1f) { - case 0x00: case 0x20: + case 0x00: switch(ins) { case 0x00: /* BRK */ return 1; case 0x20: /* JCI */ POP1(b) if(!b) { pc += 2; break; }