[Scummvm-cvs-logs] CVS: scummvm/sky screen.cpp,1.16,1.17

Max Horn max at quendi.de
Sun Jun 1 04:49:02 CEST 2003


[....]
#nclude "screen.h"
>
> +#ifdef SCUMM_BIG_ENDIAN
> +#define ENDIAN16(x) ((x >> 8) | ((x & 0xFF) << 8))
> +#else
> +#define ENDIAN16(x) (x)
> +#endif
> +

I would strongly recommend to remove those again and instead use the 
macros / inline functions we provide for this functionality in 
common/scummsys.h :-)

At one point I gotta renamed that file, i guess ;-)

Cheers,

Max





More information about the Scummvm-git-logs mailing list