sync() raises "RangeError: invalid stack index 0" in JS #437

This commit is contained in:
BADIM-PC\Vadim 2017-12-04 10:42:26 +03:00
parent fce433d272
commit c956d26d11
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ static const struct{duk_c_function func; s32 params;} ApiFunc[] =
{duk_textri,14}, {duk_textri,14},
{duk_clip, 4}, {duk_clip, 4},
{duk_music, 4}, {duk_music, 4},
{duk_sync, 0}, {duk_sync, 1},
}; };
static void initDuktape(tic_machine* machine) static void initDuktape(tic_machine* machine)