reimplement "SyncBias" as something that tells us the sync of the pack so we may adjust accordingly rather than the blanket sync to apply to the pack.

This commit is contained in:
Crash Cringle
2025-03-03 23:25:32 -08:00
committed by teejusb
parent f59a5b1e72
commit 05cd7ed922
14 changed files with 28 additions and 8 deletions
+3 -1
View File
@@ -43,7 +43,7 @@ Group::Group(const RString& sDir, const RString& sGroupDirName) {
RString Series = "";
RString bannerPath = "";
RString authorsNotes = "";
float fOffset = PREFSMAN->m_fDefaultGroupOffsetSeconds;
float fOffset = PREFSMAN->m_fMachineSyncBias;
if (FILEMAN->DoesFileExist(sPackIniPath)) {
IniFile ini;
@@ -83,7 +83,9 @@ Group::Group(const RString& sDir, const RString& sGroupDirName) {
ini.GetValue("Group", "AuthorsNotes", authorsNotes);
} else {
m_bHasPackIni = false;
fOffset = PREFSMAN->m_fMachineSyncBias;
}
// Look for a group banner in this group folder
std::vector<RString> arrayGroupBanners;