[Refactor] (P13 W5 S5): the record arm's three knobs move from IpcTable to RecordArmTable, which every record-arm build parses.

This commit is contained in:
2026-10-06 12:01:49 -04:00
parent b050c60b32
commit b13af729e4
7 changed files with 67 additions and 45 deletions
@@ -700,7 +700,7 @@ namespace MobileGL::MG_Remote::Client {
}
Uint64 PersistentMapTracker::BlockBytes() {
return static_cast<Uint64>(MG_Config::Ipc.PersistentBlockKb) * 1024ull;
return static_cast<Uint64>(MG_Config::RecordArm.PersistentBlockKb) * 1024ull;
}
Bool PersistentMapTracker::PushIsArmed() {
@@ -1049,7 +1049,7 @@ namespace MobileGL::MG_Remote::Client {
// in both directions.
BlockHashState* state = nullptr;
const Uint8* shadow = nullptr;
if (MG_Config::Ipc.PersistentHashSuppress != 0) {
if (MG_Config::RecordArm.PersistentHashSuppress != 0) {
shadow = buffer.MappedData();
if (shadow != nullptr) {
state = &m_blockHashes[buffer.GetLifetimeId()];