2013-04-18 05:09:55 +02:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2012-10-04 05:41:02 +02:00
|
|
|
|
2014-02-10 19:54:46 +01:00
|
|
|
#pragma once
|
2012-10-04 05:41:02 +02:00
|
|
|
|
2014-07-03 02:19:08 +02:00
|
|
|
namespace FPSCounter
|
|
|
|
{
|
2012-10-04 05:41:02 +02:00
|
|
|
// Initializes the FPS counter.
|
2014-07-03 02:19:08 +02:00
|
|
|
void Initialize();
|
2012-10-04 05:41:02 +02:00
|
|
|
|
|
|
|
// Called when a frame is rendered. Returns the value to be displayed on
|
|
|
|
// screen as the FPS counter (updated every second).
|
2014-07-03 02:19:08 +02:00
|
|
|
int Update();
|
|
|
|
}
|