mirror of https://github.com/PCSX2/pcsx2.git
pcsx2:gui: drop useless m_FrameCounter
This commit is contained in:
parent
5b4ba02012
commit
e41f786c72
|
@ -262,8 +262,6 @@ protected:
|
||||||
int m_fpsqueue_writepos;
|
int m_fpsqueue_writepos;
|
||||||
uint m_initpause;
|
uint m_initpause;
|
||||||
|
|
||||||
uint m_FrameCounter;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FramerateManager() { Reset(); }
|
FramerateManager() { Reset(); }
|
||||||
virtual ~FramerateManager() throw() {}
|
virtual ~FramerateManager() throw() {}
|
||||||
|
|
|
@ -519,8 +519,6 @@ void FramerateManager::Resume()
|
||||||
|
|
||||||
void FramerateManager::DoFrame()
|
void FramerateManager::DoFrame()
|
||||||
{
|
{
|
||||||
++m_FrameCounter;
|
|
||||||
|
|
||||||
m_fpsqueue_writepos = (m_fpsqueue_writepos + 1) % FramerateQueueDepth;
|
m_fpsqueue_writepos = (m_fpsqueue_writepos + 1) % FramerateQueueDepth;
|
||||||
m_fpsqueue[m_fpsqueue_writepos] = GetCPUTicks();
|
m_fpsqueue[m_fpsqueue_writepos] = GetCPUTicks();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue