mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-01 19:00:56 +01:00
19 lines
409 B
C++
19 lines
409 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();
|
|
|
|
// Shutdown the FPS counter by closing the logs.
|
|
void Shutdown();
|
|
|
|
// Called when a frame is rendered. Returns the value to be displayed on
|
|
// screen as the FPS counter (updated every second).
|
|
int Update();
|
|
}
|