mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-22 09:09:18 +01:00
explicitly make integer constants int
This commit is contained in:
parent
d9f857bcc4
commit
732e3be63d
@ -849,7 +849,7 @@ static void _emitOperandInputCode(LatteDecompilerShaderContext* shaderContext, L
|
||||
else if( GPU7_ALU_SRC_IS_LITERAL(aluInstruction->sourceOperand[operandIndex].sel) )
|
||||
{
|
||||
if( requiredType == LATTE_DECOMPILER_DTYPE_SIGNED_INT )
|
||||
src->addFmt("0x{:x}", aluInstruction->literalData.w[aluInstruction->sourceOperand[operandIndex].chan]);
|
||||
src->addFmt("int(0x{:x})", aluInstruction->literalData.w[aluInstruction->sourceOperand[operandIndex].chan]);
|
||||
else if( requiredType == LATTE_DECOMPILER_DTYPE_UNSIGNED_INT )
|
||||
src->addFmt("uint(0x{:x})", aluInstruction->literalData.w[aluInstruction->sourceOperand[operandIndex].chan]);
|
||||
else if (requiredType == LATTE_DECOMPILER_DTYPE_FLOAT)
|
||||
|
Loading…
Reference in New Issue
Block a user