OP_NEWOBJECT uses long operand

This commit is contained in:
2020-11-18 14:35:58 -06:00
parent 4c4b5eae8d
commit 3727d6bb7c
4 changed files with 15 additions and 16 deletions

View File

@@ -384,7 +384,7 @@ bool cosmoV_execute(CState *state) {
break;
}
case OP_NEWOBJECT: {
uint8_t pairs = READBYTE();
uint16_t pairs = READUINT();
cosmoV_pushObject(state, pairs);
break;
}