Fixes packet parsing for 16-bit CPUs