Set opcode after reading parameters in inst_read_byte

This commit is contained in:
2023-10-16 11:04:43 +01:00
parent 4d9b8a04f2
commit 845d864bc0

View File

@@ -142,5 +142,7 @@ inst_t inst_read_bytecode(darr_t *darr)
inst.operand = read_type_from_darr(darr, DATA_TYPE_BYTE);
// Otherwise opcode doesn't take operands
inst.opcode = opcode;
return inst;
}