Skip to content

Commit

Permalink
Disable backtrack savestate when encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
clementgallet committed Oct 25, 2023
1 parent 6dd28c2 commit 606fcde
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [Unreleased]
### Added
### Changed
### Fixed

* Disable backtrack savestate when encoding

## [1.4.5] - 2023-10-22
### Added

Expand Down
1 change: 1 addition & 0 deletions src/program/GameLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ bool GameLoop::startFrameMessages()
* backtrack savestate is performed at the very beginning of the game.
*/
if ((context->config.sc.savestate_settings & SharedConfig::SS_BACKTRACK) &&
(!context->config.sc.av_dumping) &&
(gameEvents->didASavestate ||
!(context->config.sc.savestate_settings & SharedConfig::SS_INCREMENTAL)))
context->hotkey_pressed_queue.push(HOTKEY_SAVESTATE_BACKTRACK);
Expand Down

0 comments on commit 606fcde

Please sign in to comment.