Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #10224: Don't fast forward after autosave if tab key is no longer pressed #10229

Closed
wants to merge 3 commits into from

Conversation

AaronKatzin
Copy link
Contributor

@AaronKatzin AaronKatzin commented Dec 10, 2022

If fast forward is via key press

Motivation / Problem

Fix #10224

Description

Upon autosave, we save game speed in order to restore fast forward upon completion of autosave.
This caused a bug in the case where fast forward was due to key press which was released during the autosave.
So if fast forward is due to key press, save normal game speed. The graphics driver will take care of game speed after the autosave completes just like it does during game-play based on the key being pressed or not.

Limitations

n/a

Checklist for review

… longer pressed

If fast forward is via key press
@AaronKatzin AaronKatzin changed the title Fix #10224: Don't fast forward after autosave if tab key is no longer… Fix #10224: Don't fast forward after autosave if tab key is no longer pressed Dec 10, 2022
src/saveload/saveload.cpp Outdated Show resolved Hide resolved
src/video/video_driver.hpp Outdated Show resolved Hide resolved
src/saveload/saveload.cpp Outdated Show resolved Hide resolved
@2TallTyler
Copy link
Member

Superseded by #10230 - thanks for the PR! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: trivial This Pull Request is trivial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Fast forward is toggling on after autosave even if Tab isn't pressed
3 participants