mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 22:45:48 +00:00
cpu: Hotfix missing ToNearest rounding mode cases
This commit is contained in:
parent
326749498b
commit
016262514d
1 changed files with 2 additions and 0 deletions
|
@ -1448,6 +1448,7 @@ namespace ARMeilleure.Instructions
|
|||
{
|
||||
var overflowToInf = fpcr.GetRoundingMode() switch
|
||||
{
|
||||
FPRoundingMode.ToNearest => true,
|
||||
FPRoundingMode.TowardsPlusInfinity => !sign,
|
||||
FPRoundingMode.TowardsMinusInfinity => sign,
|
||||
FPRoundingMode.TowardsZero => false,
|
||||
|
@ -2879,6 +2880,7 @@ namespace ARMeilleure.Instructions
|
|||
{
|
||||
var overflowToInf = fpcr.GetRoundingMode() switch
|
||||
{
|
||||
FPRoundingMode.ToNearest => true,
|
||||
FPRoundingMode.TowardsPlusInfinity => !sign,
|
||||
FPRoundingMode.TowardsMinusInfinity => sign,
|
||||
FPRoundingMode.TowardsZero => false,
|
||||
|
|
Loading…
Reference in a new issue