rcheevos: revert to before #17806

PR #17806 upgraded rcheevos, after which a regression is reported in
issue #17631.

Experimentally revert to confirm.
This commit is contained in:
Henrik Rydgård committed 2023-08-08 15:38:22 +02:00
1 parent 38357a2c1c
commit ac269aaa4b
3 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -118,7 +118,7 @@ void OnScreenDisplay::ShowAchievementProgress(int achievementID, bool show) {
}
// Else update it.
entry.numericID = achievementID;
entry.endTime = now + forever_s;
entry.endTime = now + 2.0f; // forever_s;
return;
}
}
@@ -133,7 +133,7 @@ void OnScreenDisplay::ShowAchievementProgress(int achievementID, bool show) {
entry.numericID = achievementID;
entry.type = OSDType::ACHIEVEMENT_PROGRESS;
entry.startTime = now;
entry.endTime = now + forever_s;
entry.endTime = now + 2.0f; // forever_s;
entries_.insert(entries_.begin(), entry);
}