From 1784b0cb49955cf0c1fcc46f7e6df37d527ecba8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 23 Feb 2020 20:37:29 +0100 Subject: [PATCH] :bug: Fix user defined gack reg offset --- src/lib/gack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/gack.c b/src/lib/gack.c index 4b2af557..1fd00ed0 100644 --- a/src/lib/gack.c +++ b/src/lib/gack.c @@ -70,6 +70,7 @@ ANN void gack(const VM_Shred shred, const Instr instr) { } else { prepare_call(shred, instr->m_val2); shred->code = code; + POP_REG(shred, SZ_INT*2); } return; } -- 2.43.0