Add an option to enable performance queries in gameini files, disable it by default

This commit is contained in:
Pierre Bourdon
2013-08-11 17:08:12 +02:00
parent ffdd79df36
commit 26f58e1ba5
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
#include "PerfQueryBase.h"
#include "VideoConfig.h"
PerfQueryBase* g_perf_query = 0;
bool PerfQueryBase::ShouldEmulate() const
{
return g_ActiveConfig.bPerfQueriesEnable;
}