Make the rewind snapshot interval wall-time based instead of frame-based.

This commit is contained in:
Henrik Rydgård committed 2023-02-14 10:09:51 +01:00
1 parent a7baa3580b
commit 5418be738b
48 files changed
+84 -75

No files matched your search

+1 -1
View File
@@ -302,7 +302,7 @@ void GamePauseScreen::CreateViews() {
saveUndoButton->OnClick.Handle(this, &GamePauseScreen::OnLastSaveUndo);
}
if (g_Config.iRewindFlipFrequency > 0) {
if (g_Config.iRewindSnapshotInterval > 0) {
UI::Choice *rewindButton = buttonRow->Add(new Choice(pa->T("Rewind")));
rewindButton->SetEnabled(SaveState::CanRewind());
rewindButton->OnClick.Handle(this, &GamePauseScreen::OnRewind);