applied patch: Some endian-conditional functions had incorrect signatures on BE hosts.
This commit is contained in:
parent
c7fdf6d428
commit
aaa18f5384
@ -627,12 +627,12 @@ BX_CPP_INLINE void WriteHostWordToLittleEndian(Bit16u *hostPtr, Bit16u nativeVar
|
|||||||
*(hostPtr) = bx_bswap16(nativeVar16);
|
*(hostPtr) = bx_bswap16(nativeVar16);
|
||||||
}
|
}
|
||||||
|
|
||||||
BX_CPP_INLINE void WriteHostDWordToLittleEndian(Bit8u *hostPtr, Bit32u nativeVar32)
|
BX_CPP_INLINE void WriteHostDWordToLittleEndian(Bit32u *hostPtr, Bit32u nativeVar32)
|
||||||
{
|
{
|
||||||
*(hostPtr) = bx_bswap32(nativeVar32);
|
*(hostPtr) = bx_bswap32(nativeVar32);
|
||||||
}
|
}
|
||||||
|
|
||||||
BX_CPP_INLINE void WriteHostQWordToLittleEndian(Bit8u *hostPtr, Bit64u nativeVar64)
|
BX_CPP_INLINE void WriteHostQWordToLittleEndian(Bit64u *hostPtr, Bit64u nativeVar64)
|
||||||
{
|
{
|
||||||
*(hostPtr) = bx_bswap64(nativeVar64);
|
*(hostPtr) = bx_bswap64(nativeVar64);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user