]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix user defined gack reg offset
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 23 Feb 2020 19:37:29 +0000 (20:37 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 23 Feb 2020 19:37:29 +0000 (20:37 +0100)
src/lib/gack.c

index 4b2af557788219ae0b9fc61827a60a29c03a0712..1fd00ed0d08bb52e239e7d48cfd383263e6c189a 100644 (file)
@@ -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;
 }