summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PerfQueryBase.cpp
blob: ed8c3366a19ce592f4f0399f18c0bf6d218abe18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2012 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "VideoCommon/PerfQueryBase.h"

#include <memory>

#include "VideoCommon/VideoConfig.h"

std::unique_ptr<PerfQueryBase> g_perf_query;

bool PerfQueryBase::ShouldEmulate()
{
  return g_ActiveConfig.bPerfQueriesEnable;
}