mbroemme / libmpq

libmpq is a library for manipulating MPQ (MoPaQ) archives, which are used by Blizzard in most of their games (e.g., Diablo, Diablo 2, StarCraft, WarCraft 3, and World of Warcraft).
http://libmpq.org
GNU General Public License v2.0
37 stars 13 forks source link

Big-endian support #14

Open glebm opened 2 years ago

glebm commented 2 years ago

The library appears to read the 16-bit and 32-bit ints directly into structs via fread without byte-swapping them on big-endian platforms.