[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.89,1.90

Arisme arisme at free.fr
Sun Apr 6 09:44:02 CEST 2003


> Uhm, that code is not portable and won't work on big endian systems 
> which need alignment, Nicolas. TO_LE_32 is a function on bigendian 
> systems, and taking the address of that is certainly not what you want 
> (in fact it generates a compiler error). You'll have to put the 
> intermediate value into a variable before calling memcpy.
> 

ok sorry, didn't check that first - fixing it now 

> Now who the heck decided that all big endian system with SDL need 
> SCUMM_NEED_ALIGNMENT ?!? *grmbl*
> 
> 

wasn't my mistake this time :)




More information about the Scummvm-git-logs mailing list