diff --git a/Source/Project64-core/N64System/Recompiler/RegBase.cpp b/Source/Project64-core/N64System/Recompiler/RegBase.cpp index 209f3a266..0e01205db 100644 --- a/Source/Project64-core/N64System/Recompiler/RegBase.cpp +++ b/Source/Project64-core/N64System/Recompiler/RegBase.cpp @@ -43,6 +43,7 @@ bool CRegBase::operator==(const CRegBase& right) const } if (m_CycleCount != right.m_CycleCount) { return false; } if (m_Fpu_Used != right.m_Fpu_Used) { return false; } + if (GetRoundingModel() != right.GetRoundingModel()) { return false; } return true; } diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86RegInfo.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86RegInfo.cpp index 99fcd061c..5920423f3 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86RegInfo.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86RegInfo.cpp @@ -105,8 +105,6 @@ bool CX86RegInfo::operator==(const CX86RegInfo& right) const if (m_x86fpu_State[count] != right.m_x86fpu_State[count]) { return false; } if (m_x86fpu_RoundingModel[count] != right.m_x86fpu_RoundingModel[count]) { return false; } } - if (m_Fpu_Used != right.m_Fpu_Used) { return false; } - if (GetRoundingModel() != right.GetRoundingModel()) { return false; } return true; }