From 03993e4288108791c5ddcaafcf76c2f36920a7e9 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 29 May 2019 21:47:51 -0300 Subject: [PATCH] Correct constant operand type on CSINC --- ARMeilleure/Instructions/InstEmitCsel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARMeilleure/Instructions/InstEmitCsel.cs b/ARMeilleure/Instructions/InstEmitCsel.cs index 31c9a2ecf6..cdea6fa7ac 100644 --- a/ARMeilleure/Instructions/InstEmitCsel.cs +++ b/ARMeilleure/Instructions/InstEmitCsel.cs @@ -32,7 +32,7 @@ namespace ARMeilleure.Instructions if (cselOp == CselOperation.Increment) { - m = context.IAdd(m, Const(1)); + m = context.IAdd(m, Const(m.Type, 1)); } else if (cselOp == CselOperation.Invert) {