mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
FPS counter cleanup
- Isolate it into it's own namespace - Shorten function names, the namespace self-documents. - Just use the std I/O, we can just write directly to the stream for logging.
This commit is contained in:
@ -4,9 +4,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace FPSCounter
|
||||
{
|
||||
// Initializes the FPS counter.
|
||||
void InitFPSCounter();
|
||||
void Initialize();
|
||||
|
||||
// Called when a frame is rendered. Returns the value to be displayed on
|
||||
// screen as the FPS counter (updated every second).
|
||||
int UpdateFPSCounter();
|
||||
int Update();
|
||||
}
|
||||
|
Reference in New Issue
Block a user