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 ProgressBar widget overflow with large files #1288

Merged
merged 1 commit into from Jul 21, 2023

Conversation

NotherNgineer
Copy link
Contributor

ProgressBar widget was overflowing and wrapping back to 0 during Replay when the product of FileSizeBytes * WidgetWidthPixels exceeded 2^32.

Copy link
Contributor

@kallanreed kallanreed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m kind of curious how you found this one. 😅

@NotherNgineer
Copy link
Contributor Author

I’m kind of curious how you found this one.

Brumi reported it using Replay with large GPS sim files (C8). You have to go back to release 1.5.3 to find those test files in the SD Card zip, in the GPS folder.

@NotherNgineer NotherNgineer merged commit 2af9545 into portapack-mayhem:next Jul 21, 2023
3 checks passed
@Brumi-2021
Copy link
Contributor

Checked in today's merged next,
this time I validated Replaying long file (150MB) .C16 and it works well !
Thanks !

@NotherNgineer NotherNgineer deleted the progress-widget branch July 21, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants