Skip to content

Conversation

@Rangi42
Copy link
Contributor

@Rangi42 Rangi42 commented Jul 7, 2025

Fixes #1723

Basically when comparing whether the actualOffset is equal to the desired offset, the values should be compared modulo the smallest alignment size (which is either the current 1 << sect->align or the desired alignSize).

@Rangi42 Rangi42 added this to the 0.9.4 milestone Jul 7, 2025
@Rangi42 Rangi42 requested a review from ISSOtm July 7, 2025 16:44
@Rangi42 Rangi42 added bug Unexpected behavior / crashes; to be fixed ASAP! rgbasm This affects RGBASM labels Jul 7, 2025
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.

Looks fine to me. Thank you!

@ISSOtm ISSOtm merged commit 202c914 into gbdev:master Jul 7, 2025
23 checks passed
@Rangi42 Rangi42 deleted the fix-align branch July 7, 2025 22:02
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! rgbasm This affects RGBASM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ds align fails in already-aligned sections

2 participants