Ah the joys of endian-specific code! :D
| 872 | |
| 873 | // Ah the joys of endian-specific code! :D |
| 874 | static __forceinline void SetHiWord(u32& src, u16 value) |
| 875 | { |
| 876 | ((u16*)&src)[1] = value; |
| 877 | } |
| 878 | |
| 879 | static __forceinline void SetLoWord(u32& src, u16 value) |
| 880 | { |