2013-04-18 03:09:55 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2012-10-04 03:41:02 +00:00
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2012-10-04 03:41:02 +00:00
|
|
|
|
2014-07-03 00:19:08 +00:00
|
|
|
namespace FPSCounter
|
|
|
|
{
|
2012-10-04 03:41:02 +00:00
|
|
|
// Initializes the FPS counter.
|
2014-07-03 00:19:08 +00:00
|
|
|
void Initialize();
|
2012-10-04 03:41:02 +00: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 00:19:08 +00:00
|
|
|
int Update();
|
|
|
|
}
|