diff --git a/dare/decompiler/src/tyde/translator.cpp b/dare/decompiler/src/tyde/translator.cpp index 22babeb274..f3fbf5a8f4 100644 --- a/dare/decompiler/src/tyde/translator.cpp +++ b/dare/decompiler/src/tyde/translator.cpp @@ -414,7 +414,7 @@ void Translator::AddTaoOpcodeAndRef(const TydeInstruction* ins) { || opcode == OP_CONST || opcode == OP_CONST_HIGH16) { if (ins->destination().type.IsIntSubtype()) { s4 constant = (s4) ins->constant(); - if (CanInlineIntegerLiteral(constant)) { + if (opcode != OP_CONST_HIGH16 && CanInlineIntegerLiteral(constant)) { AddIconst((s2) constant); } else { out_ << LDC;