This commit is contained in:
lenheart
2024-09-15 13:08:42 +08:00
parent 977fdf7ccf
commit b90bde86e0
26 changed files with 948 additions and 210 deletions

View File

@@ -274,7 +274,7 @@ static SQInteger L_WriteByteArr(HSQUIRRELVM v)
{
SQInteger Buf;
sq_getinteger(v, -1, &Buf);
Address[Idx] = Buf;
CMem::WriteUChar((Address + Idx), Buf);
// 这里-1是值-2是键
sq_pop(v, 2); // 在下一次迭代之前弹出键和值
Idx++;