Jan Beich
e7c016ea8f
common: use system bswap* functions on more BSDs
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Lioncash
fabe55dda3
swap: Get rid of pointer casting for swapping structs
These shouldn't haphazardly convert types
10 years ago
Lioncash
a7ce0e430b
swap: Get rid of undefined behavior in swapf and swapd
This isn't well-defined in C++.
10 years ago
Lioncash
d89a038465
swap: Remove unused methods
Also gets rid of pointer data variants as this prevents the use of
the regular swapping routines as unary predicates in std lib functions.
They also cast to stricter alignment types, which is undefined behavior.
10 years ago
Lioncash
ad57b24255
common: Get rid of a cast in swap.h
10 years ago
Emmanuel Gil Peyrot
2d044a67c9
Common: Cleanup memory and misc includes.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
archshift
e011acaa84
Removed swap code redundancy and moved common swap code to swap.h
11 years ago
Emmanuel Gil Peyrot
6b411c63c9
Common: Remove dead platform #ifdefs to make the code more readable.
Symbian, Xbox, Blackberry and iOS got removed.
FreeBSD and Android kept due to them potentially being able to run Citra in the future.
The iOS specific part also got removed from PPSSPP in order to fix a bug there.
11 years ago
Yuri Kunde Schlesner
da564d3fe0
Fix compile errors in Clang
11 years ago
bunnei
7a136b8a84
fixes to build on linux
12 years ago
bunnei
63e46abdb8
got rid of 'src' folders in each sub-project
12 years ago
bunnei
c9b5b89e21
convert tabs to spaces
12 years ago
ShizZy
f24f4ff978
added swap types to common
12 years ago