DolphinAnalytics: Add READS_BOUNDING_BOX game quirk

This commit is contained in:
Pokechu22
2023-05-06 17:18:17 -07:00
parent 2319210d85
commit 810eb70f0e
3 changed files with 10 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#include "Core/Config/MainSettings.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/DolphinAnalytics.h"
#include "Core/System.h"
// TODO: ugly
@ -171,6 +172,8 @@ u32 VideoBackendBase::Video_GetQueryResult(PerfQueryType type)
u16 VideoBackendBase::Video_GetBoundingBox(int index)
{
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::READS_BOUNDING_BOX);
if (!g_ActiveConfig.bBBoxEnable)
{
static bool warn_once = true;