Commit Graph

15 Commits

Author SHA1 Message Date
shenweip
54492732b5 Rename u24 to u24_be. 2013-10-05 02:52:33 +08:00
shenweip
a7d3b8f710 Add a new type u24. 2013-10-04 23:33:03 +08:00
Unknown W. Brackets
9ae32f641a Move swap_struct_t to its own file.
This way bswap32() and friends are already defined.  Otherwise there are
errors.
2013-07-28 21:03:44 -07:00
Unknown W. Brackets
524064a02e Improve the auto-swapping struct a bit.
Specifically:
 * Don't override &&/|| - that kills short circuiting.
 * Consistently return a swapped type from operators.
 * Add a few more missing operators.
2013-07-28 21:03:44 -07:00
Ced2911
f5dc650fd3 more on endian types 2013-07-28 21:03:44 -07:00
Ced2911
47e1c8143a endian struct 2013-07-28 21:03:43 -07:00
Unknown W. Brackets
8da6259aff More carefully check defines for endianness. 2013-07-25 22:25:50 -07:00
Henrik Rydgard
1533b588e3 Argh, this really shouldn't be needed but is. 2013-07-26 01:18:40 +02:00
Henrik Rydgard
5e791fad51 Try to fix the bigendian defines 2013-07-25 23:39:41 +02:00
Henrik Rydgård
9fc57894ab Mac build fix (weird, BIG_ENDIAN really shouldn't be defined) 2013-07-25 19:21:43 +02:00
Unknown W. Brackets
f3fc9562ff Oops, need floating point types too. 2013-07-25 08:04:36 -07:00
Unknown W. Brackets
f1c354607e Add special u32_le/etc. types to mark endianness.
Might even want u32_be...
2013-07-25 08:04:34 -07:00
Henrik Rydgard
5293c152c6 Untested support for Android-x86. No idea if this actually works. 2013-03-21 20:52:33 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00