FPSCounter: Flush the logs every second and close them when the renderer is shut down.

This commit is contained in:
Jules Blok
2014-07-09 22:30:34 +02:00
parent 1754cbda9d
commit 6def4ead01
3 changed files with 12 additions and 0 deletions

View File

@ -105,6 +105,8 @@ Renderer::~Renderer()
if (pFrameDump.IsOpen())
pFrameDump.Close();
#endif
FPSCounter::Shutdown();
}
void Renderer::RenderToXFB(u32 xfbAddr, const EFBRectangle& sourceRc, u32 fbWidth, u32 fbHeight, float Gamma)