OpenParsec / openparsec

GNU General Public License v2.0
52 stars 8 forks source link

Fix struct alignments and packing. #27

Open AbortRetryFail opened 10 years ago

AbortRetryFail commented 10 years ago

This is related to Issue #7. Somewhere along the line we broke struct alignment/packing for a number of structs used in libparsec/net_defs.h, which works fine on x86, but breaks the game for architectures like ARM and PowerPC (which the game used to run on)

Example: RE_PlayerStatus is now 17 bytes when it used to be 20 bytes, making everything that inherits it misaligned.

AbortRetryFail commented 10 years ago

This should include a reference to Issue #1, since that's where the changes started.