mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 21:27:49 +00:00
Shader/F2I: Implemented the negate bit in the I2F instruction
This commit is contained in:
parent
cb60077c0c
commit
61be8e0be3
1 changed files with 4 additions and 0 deletions
|
@ -1261,6 +1261,10 @@ private:
|
||||||
op_a = "abs(" + op_a + ')';
|
op_a = "abs(" + op_a + ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (instr.conversion.negate_a) {
|
||||||
|
op_a = "-(" + op_a + ')';
|
||||||
|
}
|
||||||
|
|
||||||
regs.SetRegisterToFloat(instr.gpr0, 0, op_a, 1, 1);
|
regs.SetRegisterToFloat(instr.gpr0, 0, op_a, 1, 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue