From 4d12e1954f8969c4386d4748c108a55d105e6fbf Mon Sep 17 00:00:00 2001 From: gigaherz Date: Sat, 8 Oct 2011 16:52:58 +0000 Subject: [PATCH] GSDX: I didn't even like that code when I changed it. Now I know why. And it looks much better this way. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4926 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index e7960e58a5..c92cbfe950 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -385,7 +385,7 @@ bool GSState::IsEnabled(int i) float GSState::GetFPS() { - return ((m_regs->SMODE1.CMOD & 1) ? 50 : 59.94) * pow(2.0f, (float)m_regs->SMODE2.INT-1.0f); + return ((m_regs->SMODE1.CMOD & 1) ? 25 : 29.97) * (m_regs->SMODE2.INT+1.0f); } // GIFPackedRegHandler*