From e41f786c72c09a57c1f41c16b34d773a20bc0c70 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 21 Sep 2015 19:13:17 +0200 Subject: [PATCH] pcsx2:gui: drop useless m_FrameCounter --- pcsx2/gui/App.h | 2 -- pcsx2/gui/AppMain.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/pcsx2/gui/App.h b/pcsx2/gui/App.h index 40dc665655..5c6eb39cf2 100644 --- a/pcsx2/gui/App.h +++ b/pcsx2/gui/App.h @@ -262,8 +262,6 @@ protected: int m_fpsqueue_writepos; uint m_initpause; - uint m_FrameCounter; - public: FramerateManager() { Reset(); } virtual ~FramerateManager() throw() {} diff --git a/pcsx2/gui/AppMain.cpp b/pcsx2/gui/AppMain.cpp index 81d1d24a18..614bb728a4 100644 --- a/pcsx2/gui/AppMain.cpp +++ b/pcsx2/gui/AppMain.cpp @@ -519,8 +519,6 @@ void FramerateManager::Resume() void FramerateManager::DoFrame() { - ++m_FrameCounter; - m_fpsqueue_writepos = (m_fpsqueue_writepos + 1) % FramerateQueueDepth; m_fpsqueue[m_fpsqueue_writepos] = GetCPUTicks();