Fix return type mismatch on 32-bit titles (#3000)
This commit is contained in:
@ -163,6 +163,11 @@ namespace ARMeilleure.Instructions
|
||||
{
|
||||
if (isReturn)
|
||||
{
|
||||
if (target.Type == OperandType.I32)
|
||||
{
|
||||
target = context.ZeroExtend32(OperandType.I64, target);
|
||||
}
|
||||
|
||||
context.Return(target);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user