I noticed the read family of methods is dereferencing unaligned pointers (the MM3D format is completely unaligned unfortunately) in which case I don't think it will work on architectures like ARM that require alignment.
I was just removing endianconfig.h to put in a simpler system in its place, since none of the loaders are using "swapEndianness" and the setup was sloppy. Below is the new code I wrote in case useful.
I noticed the
read
family of methods is dereferencing unaligned pointers (the MM3D format is completely unaligned unfortunately) in which case I don't think it will work on architectures like ARM that require alignment.I was just removing endianconfig.h to put in a simpler system in its place, since none of the loaders are using "swapEndianness" and the setup was sloppy. Below is the new code I wrote in case useful.