mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-01 19:31:09 +01:00
00efaedb02
- 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.
16 lines
342 B
C++
16 lines
342 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
namespace FPSCounter
|
|
{
|
|
// Initializes the FPS counter.
|
|
void Initialize();
|
|
|
|
// Called when a frame is rendered. Returns the value to be displayed on
|
|
// screen as the FPS counter (updated every second).
|
|
int Update();
|
|
}
|