mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
FPSCounter: Remove redundant destructor.
This commit is contained in:
@ -18,12 +18,6 @@ FPSCounter::FPSCounter()
|
|||||||
m_render_time.Update();
|
m_render_time.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
FPSCounter::~FPSCounter()
|
|
||||||
{
|
|
||||||
if (m_bench_file.is_open())
|
|
||||||
m_bench_file.close();
|
|
||||||
}
|
|
||||||
|
|
||||||
void FPSCounter::LogRenderTimeToFile(u64 val)
|
void FPSCounter::LogRenderTimeToFile(u64 val)
|
||||||
{
|
{
|
||||||
if (!m_bench_file.is_open())
|
if (!m_bench_file.is_open())
|
||||||
|
@ -16,9 +16,6 @@ public:
|
|||||||
// Initializes the FPS counter.
|
// Initializes the FPS counter.
|
||||||
FPSCounter();
|
FPSCounter();
|
||||||
|
|
||||||
// Shutdown the FPS counter by closing the logs.
|
|
||||||
~FPSCounter();
|
|
||||||
|
|
||||||
// Called when a frame is rendered. Returns the value to be displayed on
|
// Called when a frame is rendered. Returns the value to be displayed on
|
||||||
// screen as the FPS counter (updated every second).
|
// screen as the FPS counter (updated every second).
|
||||||
int Update();
|
int Update();
|
||||||
|
Reference in New Issue
Block a user