Skip to content

Fix sScrollableMultichoice_ListMenuItem allocation size magic number#2177

Merged
GriffinRichards merged 1 commit intopret:masterfrom
NTx86:gba-fix-list-menu-item-alloc
Dec 10, 2025
Merged

Fix sScrollableMultichoice_ListMenuItem allocation size magic number#2177
GriffinRichards merged 1 commit intopret:masterfrom
NTx86:gba-fix-list-menu-item-alloc

Conversation

@NTx86
Copy link
Contributor

@NTx86 NTx86 commented Sep 1, 2025

Description

The code originally used a magic number instead of sizeof, this causes issues if the size of ListMenuItem struct is made to be bigger like when compiling the game in 64 bit which increases the pointer size in the struct

Discord contact info

nt_x86

@GriffinRichards GriffinRichards merged commit cc7327d 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.

2 participants