From: Jérémie Astor Date: Sun, 23 Feb 2020 19:37:29 +0000 (+0100) Subject: :bug: Fix user defined gack reg offset X-Git-Tag: nightly~1732 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=1784b0cb49955cf0c1fcc46f7e6df37d527ecba8;p=gwion.git :bug: Fix user defined gack reg offset --- 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; }