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 detection of tiles with too many colors #1546

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Conversation

Rangi42
Copy link
Contributor

@Rangi42 Rangi42 commented Oct 20, 2024

This fixes the initial observation in #1531 ("RGBGFX somehow thinks a 5-color tile has 13 colors") but does not fix the actual bug (which trips up the index < palette.size() assertion).

@Rangi42 Rangi42 added bug Unexpected behavior / crashes; to be fixed ASAP! rgbgfx This affects RGBGFX labels Oct 20, 2024
@Rangi42 Rangi42 added this to the v0.9.0 milestone Oct 20, 2024
@Rangi42 Rangi42 requested a review from ISSOtm October 20, 2024 17:25
ISSOtm
ISSOtm previously requested changes Oct 20, 2024
src/gfx/process.cpp Show resolved Hide resolved
Copy link
Member

@ISSOtm ISSOtm left a comment

Choose a reason for hiding this comment

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

Thank you! ^^

@Rangi42 Rangi42 merged commit 90286cc into gbdev:master Oct 20, 2024
22 checks passed
@Rangi42 Rangi42 deleted the fix-count branch October 20, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior / crashes; to be fixed ASAP! rgbgfx This affects RGBGFX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants