mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fixed readUnaligned.
This commit is contained in:
@@ -103,7 +103,7 @@ namespace bx
|
||||
static void readUnaligned(const void* _data, uint32_t& _out)
|
||||
{
|
||||
const uint8_t* data = (const uint8_t*)_data;
|
||||
if (BX_ENABLED(BX_CPU_ENDIAN_LITTLE) )
|
||||
if (BX_ENABLED(BX_CPU_ENDIAN_BIG) )
|
||||
{
|
||||
_out = 0
|
||||
| data[0]<<24
|
||||
|
||||
Reference in New Issue
Block a user