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 CStreamingSA::GetUnusedStreamHandle #3110

Merged
merged 1 commit into from Jul 9, 2023

Conversation

tederis
Copy link
Collaborator

@tederis tederis commented Jul 8, 2023

Seems like CStreamingSA::GetUnusedArchive returns not what is declared in the method's name. It always returns 0 that leads to an unexpected behaviour when engineAddImage called. engineAddImage is always adding an image to a slot 6. And furthermore, it can break the default SA streaming because of overriding of the first streaming handle.

@CrosRoad95
Copy link
Contributor

maybe thats why streaming flickering and this can fix issue mentioned here #3092

@Zangomangu
Copy link
Contributor

maybe thats why streaming flickering and this can fix issue mentioned here #3092

nah the flickering/artifacting fixed in that PR is caused specifically by a bug in the bone animation code which is just exacerbated by higher memory usage (which is why it never occurred on the PS2)

@tederis tederis mentioned this pull request Jul 8, 2023
@lopezloo lopezloo added the bug Something isn't working label Jul 8, 2023
@TheNormalnij
Copy link
Contributor

lgtm, tested

@TheNormalnij TheNormalnij merged commit 38624a4 into multitheftauto:master Jul 9, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants