mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-20 12:38:23 -05:00
DolphinAnalytics: Refactor redundant data accesses
This commit is contained in:
parent
ed14921ee5
commit
d2414125a9
|
|
@ -369,12 +369,13 @@ static bool UseVertexRounding()
|
|||
void DolphinAnalytics::MakePerGameBuilder()
|
||||
{
|
||||
Common::AnalyticsReportBuilder builder(m_base_builder);
|
||||
const SConfig& config = SConfig::GetInstance();
|
||||
|
||||
// Gameid.
|
||||
builder.AddData("gameid", SConfig::GetInstance().GetGameID());
|
||||
builder.AddData("gameid", config.GetGameID());
|
||||
|
||||
// Unique id bound to the gameid.
|
||||
builder.AddData("id", MakeUniqueId(SConfig::GetInstance().GetGameID()));
|
||||
builder.AddData("id", MakeUniqueId(config.GetGameID()));
|
||||
|
||||
// Configuration.
|
||||
builder.AddData("cfg-dsp-hle", Config::Get(Config::MAIN_DSP_HLE));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user