summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcristian64 <cristian64@gmail.com>2026-06-29 22:29:37 +0100
committercristian64 <cristian64@gmail.com>2026-07-11 23:02:54 +0100
commit03b1f2148b080adc9ed15ecc40e3948404388b61 (patch)
treee864f20de1b27770f9ad6deeab68813ab95a7e44
parentebcbb79f70a25fa75cbd30da39a65eac8dd9eddd (diff)
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!!_).
-rw-r--r--Source/Core/Core/DolphinAnalytics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Core/DolphinAnalytics.cpp b/Source/Core/Core/DolphinAnalytics.cpp
index 1fff6bc5c5..8ae3bf6bcf 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));