mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
FPSCounter: Direct initialize class members
This commit is contained in:
parent
bf23fcfc1f
commit
e82b6a8532
2 changed files with 3 additions and 6 deletions
|
@ -21,9 +21,9 @@ public:
|
|||
unsigned int GetFPS() const { return m_fps; }
|
||||
|
||||
private:
|
||||
unsigned int m_fps;
|
||||
unsigned int m_counter;
|
||||
unsigned int m_fps_last_counter;
|
||||
unsigned int m_fps = 0;
|
||||
unsigned int m_counter = 0;
|
||||
unsigned int m_fps_last_counter = 0;
|
||||
Common::Timer m_update_time;
|
||||
|
||||
Common::Timer m_render_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue