jak1/2/3: fix high fps slowdown - #4302
Open
gratefulforest wants to merge 6 commits into
Open
Conversation
Collaborator
|
Can one of the admins verify this patch? |
Contributor
Author
|
Oh, there's one small issue here. Since |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DISPLAY_FPS_RATIOshrinks values relative to the higher rate of operations when the framerate is higher.However, currently it always applies the limit needed for the full framerate, even when the game is not running at full speed.
During slowdown, this causes a slower speed for anything adjusted by
DISPLAY_FPS_RATIO, compared to everything else in the game.This small fix incorperates slowdown into
DISPLAY_FPS_RATIO, syncing the speeds of everything during slowdown and eliminating the strange speedups/slowdowns of things when the game lags.Tested at various framerates in Jak 1/2/3.
This also has the positive side effect of correctly boosting values during slowdown at regular 60 FPS.