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

DolphinQt: Allow customizing TAS input turbo interval #8925

Merged
merged 1 commit into from Jul 8, 2020

Conversation

JosJuice
Copy link
Member

@JosJuice JosJuice commented Jul 2, 2020

As a side effect of PR #8347, Dolphin's frame counter was changed to run at 60/50 Hz even if the game is running at a lower framerate such as 30 fps. Since the TAS input turbo button functionality toggled the state of a button every other frame as reported by the frame counter, this change made the turbo button functionality not work with 30/25 fps games.

I believe it would be hard to change the frame counter back to how it used to work without undermining the point of PR #8347, and I'm not sure if doing so would be desireable or not anyway, so what I'm doing instead is letting the user determine how long turbo button presses should last. This lets users avoid the 30/25 fps game problem while also granting additional flexibility. Perhaps there is some game where it is useful to mash at a speed which is slower than frame perfect.

As a side effect of 9c5c3c0, Dolphin's frame counter was changed
to run at 60/50 Hz even if the game is running at a lower framerate
such as 30 fps. Since the TAS input turbo button functionality
toggled the state of a button every other frame as reported by
the frame counter, this change made the turbo button functionality
not work with 30/25 fps games.

I believe it would be hard to change the frame counter back to
how it used to work without undermining the point of 9c5c3c0,
and I'm not sure if doing so would be desireable or not anyway,
so what I'm doing instead is letting the user determine how long
turbo button presses should last. This lets users avoid the 30/25
fps game problem while also granting additional flexibility.
Perhaps there is some game where it is useful to mash at a speed
which is slower than frame perfect.
@lioncash lioncash merged commit 0bff77d into dolphin-emu:master Jul 8, 2020
@JosJuice JosJuice deleted the tas-turbo-interval branch July 8, 2020 12:55
@Blunderstab
Copy link

Perhaps there is some game where it is useful to mash at a speed which is slower than frame perfect.

As a matter of fact, Donkey Kong: Jungle Beat has this quirk! I'll be excited to check out this improvement. <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants