From fd5f4e765cdd61e9d2159cf1377ed60da4199c44 Mon Sep 17 00:00:00 2001 From: cristian64 Date: Mon, 29 Jun 2026 22:29:37 +0100 Subject: [PATCH] DolphinAnalytics: Add game quirk for game simulated memory size. This is the 32-bit unsigned integer that is seen at offset `0x04` in the `bi2.bin` file. The intent is to study what games define values that departure from the norm. Common values are 0 MiB (Wii games) and 24 MiB (GameCube games), with some debug and demo builds featuring 48 MiB (e.g. the debug build of _Mario Kart: Double Dash!!_). --- Source/Core/Core/DolphinAnalytics.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/DolphinAnalytics.cpp b/Source/Core/Core/DolphinAnalytics.cpp index 936cd7191b..a8336604f6 100644 --- a/Source/Core/Core/DolphinAnalytics.cpp +++ b/Source/Core/Core/DolphinAnalytics.cpp @@ -354,6 +354,9 @@ void DolphinAnalytics::MakePerGameBuilder() // Unique id bound to the gameid. builder.AddData("id", MakeUniqueId(SConfig::GetInstance().GetGameID())); + // Other game-specific fields. + builder.AddData("simulated-memory-size", SConfig::GetInstance().GetSimulatedMemorySize()); + // Configuration. builder.AddData("cfg-dsp-hle", Config::Get(Config::MAIN_DSP_HLE)); builder.AddData("cfg-dsp-jit", Config::Get(Config::MAIN_DSP_JIT));