Merge pull request #7535 from UnclePunch/synccodes

Netplay: Sync AR and gecko codes with clients
This commit is contained in:
Pierre Bourdon
2018-11-13 22:39:25 +01:00
committed by GitHub
17 changed files with 545 additions and 7 deletions

View File

@ -106,6 +106,13 @@ public:
layer->Set(Config::MAIN_GCI_FOLDER_CURRENT_GAME_ONLY, true);
}
// Check To Override Client's Cheat Codes
if (m_settings.m_SyncCodes && !m_settings.m_IsHosting)
{
// Raise flag to use host's codes
layer->Set(Config::MAIN_CODE_SYNC_OVERRIDE, true);
}
}
void Save(Config::Layer* layer) override