shinyquagsire23 / DesktopAdventures

A recreation of the Desktop Adventures engine in C
GNU Lesser General Public License v2.1
47 stars 4 forks source link

Dealing with Big Endian platforms #3

Closed shinyquagsire23 closed 8 years ago

shinyquagsire23 commented 8 years ago

Yoda Stories, x86 and ARM all primarily use little endian. As of now, this means that compiling to any platform that is Big Endian (such as the Wii, Wii U, etc) results in no data reading properly at all. Unfortunately fixing this is not an easy task and it would require a lot of rework with how things are actually read. At the moment, I'm feeling that

This would also help with the somewhat mixed read-directly-from-the-buffer logic and using the read_long, read_short, read_byte logic in assets.c

shinyquagsire23 commented 8 years ago

No longer an issue as of c4d8ebd8428a068b64d87bbc6ee5e6028d8b0c5a, and managed to port this to Wii U as well!