Mercurial > audlegacy
diff Plugins/Input/console/blargg_common.h @ 92:6bfea334e57d trunk
[svn] Pass correct endianness information to the library.
author | nenolod |
---|---|
date | Tue, 01 Nov 2005 20:18:19 -0800 |
parents | 252843aac42f |
children | 245b1307e182 |
line wrap: on
line diff
--- a/Plugins/Input/console/blargg_common.h Tue Nov 01 20:07:16 2005 -0800 +++ b/Plugins/Input/console/blargg_common.h Tue Nov 01 20:18:19 2005 -0800 @@ -14,6 +14,12 @@ #define BLARGG_COMMON_H #endif +#ifdef WORDS_BIGENDIAN +# define BLARGG_BIG_ENDIAN +#else +# define BLARGG_LITTLE_ENDIAN +#endif + // Source files use #include BLARGG_ENABLE_OPTIMIZER before performance-critical code #ifndef BLARGG_ENABLE_OPTIMIZER #define BLARGG_ENABLE_OPTIMIZER "blargg_common.h"