Skip to content

Fix SGB ATTR_BLK region rendering#79

Merged
binji merged 1 commit into
binji:mainfrom
pau-tomas:fix/sgb_color_areas
May 26, 2026
Merged

Fix SGB ATTR_BLK region rendering#79
binji merged 1 commit into
binji:mainfrom
pau-tomas:fix/sgb_color_areas

Conversation

@pau-tomas
Copy link
Copy Markdown
Contributor

@pau-tomas pau-tomas commented May 25, 2026

Properly manage the area border for the fill+outside and outside only cases with the ATTR_BLK command for Super GB mode.

  • For the fill+outside the expectation is that the border of the area to not be changed.
  • For the outside only case, the border should also use the palette

Here's a comparison between the new version with these changes (left), Sameboy (middle) and the old version without the changes (right)

Screenshot 2026-05-25 at 10 47 49 Screenshot 2026-05-25 at 10 47 26

All other cases can be tested with this rom sgb-test.gb.zip by pressing A or B to rotate between the different combinations. Also tested with some commercial games and all seems work well.

Properly manage the area border for the fill+outside and outside only cases
@binji binji merged commit df28a7d into binji:main May 26, 2026
6 checks passed
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.

2 participants