mirror of https://github.com/pret/pokeemerald.git
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:
parent
ad0c28df70
commit
4e034f3f14
|
@ -431,7 +431,7 @@ struct PokemonStorageSystemData
|
||||||
u16 scrollUnused5; // Never read
|
u16 scrollUnused5; // Never read
|
||||||
u16 scrollUnused6; // Never read
|
u16 scrollUnused6; // Never read
|
||||||
u8 filler1[22];
|
u8 filler1[22];
|
||||||
u8 boxTitleTiles[1024];
|
ALIGNED(2) u8 boxTitleTiles[1024];
|
||||||
u8 boxTitleCycleId;
|
u8 boxTitleCycleId;
|
||||||
u8 wallpaperLoadState; // Written to, but never read.
|
u8 wallpaperLoadState; // Written to, but never read.
|
||||||
u8 wallpaperLoadBoxId;
|
u8 wallpaperLoadBoxId;
|
||||||
|
|
Loading…
Reference in New Issue