uxn

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

commit 3c06af41c3788f9b9c4968e763ee7449d13c1543
parent 852e33e6f325391744d56e3c902dc22649143ac4
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Tue, 31 May 2022 13:38:21 -0700

Tiny change to uxnasm

Diffstat:
Msrc/uxnasm.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -210,8 +210,7 @@ writeopcode(char *w) Uint8 res; if(jsrlast && scmp(w, "JMP2r", 5)) { /* combine JSR2 JMP2r */ p.data[p.ptr - 1] = findopcode("JMP2"); - jsrlast = 0; - return 1; + return jsrlast--; } res = writebyte(findopcode(w)); if(scmp(w, "JSR2", 4))