From 658b9db8aa15c52535a58303e068f060919e48b5 Mon Sep 17 00:00:00 2001 From: zilmar Date: Mon, 14 Nov 2016 18:15:24 +1100 Subject: [PATCH] [Project64] Move check for GetRoundingModel() to base --- Source/Project64-core/N64System/Recompiler/RegBase.cpp | 1 + Source/Project64-core/N64System/Recompiler/x86/x86RegInfo.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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; }