From b4058a696ab507991b6b8c8cf6c0bdd9cb5c714f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 9 May 2011 14:32:03 +0200 Subject: COMMON: Tweak some comments --- common/endian.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/endian.h b/common/endian.h index e6c39d3a4c..afd7e2913e 100644 --- a/common/endian.h +++ b/common/endian.h @@ -149,8 +149,8 @@ */ #define MKTAG(a0,a1,a2,a3) ((uint32)((a3) | ((a2) << 8) | ((a1) << 16) | ((a0) << 24))) -// Functions for reading/writing native Integers, -// this transparently handles the need for alignment +// Functions for reading/writing native integers, +// this transparently handles the need for alignment. #if !defined(SCUMM_NEED_ALIGNMENT) @@ -170,8 +170,10 @@ *(uint32 *)(ptr) = value; } -// test for GCC >= 4.0. these implementations will automatically use CPU-specific -// instructions for unaligned data when they are available (eg. MIPS) +// Test for GCC >= 4.0. These implementations will automatically use CPU-specific +// instructions for unaligned data when they are available (eg. MIPS). +// See also this email thread on scummvm-devel for details: +// #elif defined(__GNUC__) && (__GNUC__ >= 4) FORCEINLINE uint16 READ_UINT16(const void *ptr) { -- cgit v1.2.3