Skip to content

Conversation

@NTx86
Copy link
Contributor

@NTx86 NTx86 commented Aug 31, 2025

Description

This seems to be the more correct type than u16 as the data only needs 8 bits. On agbcc this makes no difference but when compiling the same code in x86 using gcc it causes this struct to be a different size which breaks save file compatibility, changing the type to u8 makes the struct correct size. I have not tested this on ARM gcc modern myself but according to pull request #2118 changing the type u8 should give the correct struct size too.

Discord contact info

nt_x86

@Jaizu
Copy link
Contributor

Jaizu commented Aug 31, 2025

Will this break saves for users that are already building with modern?

@NTx86
Copy link
Contributor Author

NTx86 commented Aug 31, 2025

As I said in the description I haven't tested it myself as I don't have modern build enviroment setup but according to the pull request I linked it shouldn't break it

@GriffinRichards GriffinRichards merged commit bcd5735 into pret:master Dec 10, 2025
1 check 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.

3 participants