ALIGNED(2) The boxTitleTiles in storage

This bug was found by removing unused fields, only to find the graphics were corrupted because CpuCopy16 expects an aligned-2 pointer.
This commit is contained in:
AreaZeroArven 2023-10-18 19:50:02 -04:00 committed by GitHub
parent ad0c28df70
commit 4e034f3f14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ struct PokemonStorageSystemData
u16 scrollUnused5; // Never read
u16 scrollUnused6; // Never read
u8 filler1[22];
u8 boxTitleTiles[1024];
ALIGNED(2) u8 boxTitleTiles[1024];
u8 boxTitleCycleId;
u8 wallpaperLoadState; // Written to, but never read.
u8 wallpaperLoadBoxId;