summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VideoConfig.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2013-08-11 17:08:12 +0200
committerPierre Bourdon <delroth@gmail.com>2013-08-14 23:16:46 +0200
commit26f58e1ba5e88959f73813d1fcc0dd586a0bd236 (patch)
treea96678fc158f010e5b77edae483018e82551e311 /Source/Core/VideoCommon/Src/VideoConfig.cpp
parentffdd79df3634a379cb94789e036434b80f16f22a (diff)
Add an option to enable performance queries in gameini files, disable it by default
Diffstat (limited to 'Source/Core/VideoCommon/Src/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VideoConfig.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp
index d422c3d01d..b3e9a8815f 100644
--- a/Source/Core/VideoCommon/Src/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp
@@ -181,6 +181,7 @@ void VideoConfig::GameIniLoad(const char *ini_file)
iniFile.GetIfExists("Video", "PH_ZFar", &sPhackvalue[1]);
iniFile.GetIfExists("Video", "ZTPSpeedupHack", &bZTPSpeedHack);
iniFile.GetIfExists("Video", "UseBBox", &bUseBBox);
+ iniFile.GetIfExists("Video", "PerfQueriesEnable", &bPerfQueriesEnable);
}
void VideoConfig::VerifyValidity()