From e08e540eb81cb470d94d29854fb454a51c7ba60a Mon Sep 17 00:00:00 2001 From: gigaherz Date: Sat, 8 Oct 2011 16:53:40 +0000 Subject: [PATCH] GSDX: Whoops sorry I mixed two conflicting ideas into one. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4927 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index c92cbfe950..16a009de70 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -385,7 +385,8 @@ bool GSState::IsEnabled(int i) float GSState::GetFPS() { - return ((m_regs->SMODE1.CMOD & 1) ? 25 : 29.97) * (m_regs->SMODE2.INT+1.0f); + float base_rate = ((m_regs->SMODE1.CMOD & 1) ? 25 : (30/1.001f)); + return base_rate * (m_regs->SMODE2.INT ? 2 : 1); } // GIFPackedRegHandler*