Add documentation to PerfQueryBase interface.

Remove the config field for perf queries (wasn't used for the new interface anyway).
Few other cleanups.
This commit is contained in:
NeoBrainX
2013-03-01 23:02:11 +01:00
parent 5a7bb2abfa
commit 4058b4c38a
7 changed files with 20 additions and 16 deletions

View File

@ -195,7 +195,7 @@ void VideoFifo_CheckPerfQueryRequest()
u32 VideoBackendHardware::Video_GetQueryResult(PerfQueryType type)
{
// Is this check sane?
// TODO: Is this check sane?
if (!g_perf_query->IsFlushed())
{
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread)
@ -207,7 +207,7 @@ u32 VideoBackendHardware::Video_GetQueryResult(PerfQueryType type)
else
g_perf_query->FlushResults();
}
return g_perf_query->GetQueryResult(type);
}