mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user