aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-05-09 14:32:03 +0200
committerMax Horn2011-05-09 14:32:03 +0200
commitb4058a696ab507991b6b8c8cf6c0bdd9cb5c714f (patch)
treeab204885c68511bb870cb3d31327866097875e11
parent480aaa65041b27064a4e772a40c57107d1700529 (diff)
downloadscummvm-rg350-b4058a696ab507991b6b8c8cf6c0bdd9cb5c714f.tar.gz
scummvm-rg350-b4058a696ab507991b6b8c8cf6c0bdd9cb5c714f.tar.bz2
scummvm-rg350-b4058a696ab507991b6b8c8cf6c0bdd9cb5c714f.zip
COMMON: Tweak some comments
-rw-r--r--common/endian.h10
1 files 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:
+// <http://thread.gmane.org/gmane.games.devel.scummvm/8063>
#elif defined(__GNUC__) && (__GNUC__ >= 4)
FORCEINLINE uint16 READ_UINT16(const void *ptr) {