Gif making controllable from script

This commit is contained in:
2023-09-12 12:56:40 +00:00
parent 1ac0c7693d
commit 0763783284
3 changed files with 41 additions and 48 deletions

View File

@@ -1121,7 +1121,7 @@ JSValue duk_cmd(JSContext *js, JSValueConst this, int argc, JSValueConst *argv)
break;
case 131:
gif_rec_start(480, 320, 4, 8);
gif_rec_start(js2int(argv[1]), js2int(argv[2]), js2int(argv[3]), js2int(argv[4]));
break;
case 132:
str = JS_ToCString(js, argv[1]);