[Scummvm-devel] A few questions...

Pigeon pigeon at pigeond.net
Wed Nov 7 15:06:02 CET 2001


> Well, I got it to work on my Linuxized iPAQ without any problem. You just
> need to define 'SCUMM_NEED_ALIGNMENT' in scummsys.h.

	All good thanks. It works now.

	Now in scummsys.h

/* need this for the SDL_BYTEORDER define */
#include <SDL_byteorder.h>

#if SDL_BYTEORDER == SDL_LIL_ENDIAN
#define SCUMM_LITTLE_ENDIAN
#elif SDL_BYTEORDER == SDL_BIG_ENDIAN
#define SCUMM_BIG_ENDIAN
#define SCUMM_NEED_ALIGNMENT
#else
#error Neither SDL_BIG_ENDIAN nor SDL_LITTLE_ENDIAN is set.
#endif

	It defines SCUMM_NEED_ALIGNMENT only when it's in big endian mode.
My ipaq/linux-arm is in little endian :/


Pigeon.






More information about the Scummvm-devel mailing list