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 hires cockpit image display #272

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

zear
Copy link
Collaborator

@zear zear commented Dec 13, 2022

Strip map height is a 16 bit value. Cast to uint16_t *, so that the upper 8 bits don't get lost.

This fixes cockpit image rendering for -hires mode, where said images have heights exceeding 255px.

This patch resolves part 2 of #271.

Strip map height is a 16 bit value. Cast to `br_uint_16 *`, so that the
upper 8 bits don't get lost.

This fixes cockpit image rendering for -hires mode, where said images
have heights exceeding 255px.

Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
@zear zear force-pushed the fix_cockpit_image branch from a616778 to 7a6dc43 Compare December 13, 2022 17:33
@dethrace-labs dethrace-labs merged commit 716b98c into dethrace-labs:main Dec 16, 2022
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.

3 participants