Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2090 from FearlessTobi/port-4599 | bunnei | 2019-03-21 | 1 | -35/+139 |
|\ | | | | | Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField | ||||
| * | common/swap: remove default value for swap type internal storage | Weiyi Wang | 2019-02-06 | 1 | -1/+1 |
| | | | | | | | | This is compromise for swap type being used in union. A union has deleted default constructor if it has at least one variant member with non-trivial default constructor, and no variant member of T has a default member initializer. In the use case of Bitfield, all variant members will be the swap type on endianness mismatch, which would all have non-trivial default constructor if default value is specified, and non of them can have member initializer | ||||
| * | common/swap: use template and tag for LE/BE specification | Weiyi Wang | 2019-02-06 | 1 | -39/+91 |
| | | | | | | | | The tag can be useful for other type-generic templates like BitFields to forward the endianness specification | ||||
| * | common/swap: add swap template for enum | Weiyi Wang | 2019-02-06 | 1 | -0/+52 |
| | | |||||
* | | Remove GCC version checks | tgsm | 2019-02-24 | 1 | -3/+3 |
|/ | | | | Citra can't be compiled using GCC <7 because of required C++17 support, so these version checks don't need to exist anymore. | ||||
* | Port #3732 from Citra: "common: Fix compilation on ARM" | Cameron Cawley | 2018-07-29 | 1 | -1/+1 |
| | |||||
* | common/swap: Remove unnecessary const on return value of swap() | Lioncash | 2018-07-19 | 1 | -1/+1 |
| | |||||
* | common/swap: Use static_cast where applicable | Lioncash | 2018-07-19 | 1 | -16/+16 |
| | |||||
* | common/swap: Use using aliases where applicable | Lioncash | 2018-07-19 | 1 | -33/+33 |
| | |||||
* | Port #3579 from Citra | fearlessTobi | 2018-07-07 | 1 | -1/+1 |
| | |||||
* | common: fix swap functions on Bitrig and OpenBSD | Daniel Lim Wee Soong | 2018-04-02 | 1 | -1/+13 |
| | | | | | | | | | swap{16,32,64} are defined as macros on the two, but client code tries to invoke them as Common::swap{16,32,64}, which naturally doesn't work. This hack redefines the macros as inline functions in the Common namespace: the bodies of the functions are the same as the original macros, but relying on OS-specific implementation details like this is of course brittle. | ||||
* | common: use system bswap* functions on more BSDs | Jan Beich | 2016-10-28 | 1 | -2/+5 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -2/+0 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -2/+1 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -140/+191 |
| | |||||
* | swap: Get rid of pointer casting for swapping structs | Lioncash | 2016-05-09 | 1 | -5/+5 |
| | | | | These shouldn't haphazardly convert types | ||||
* | swap: Get rid of undefined behavior in swapf and swapd | Lioncash | 2016-05-09 | 1 | -14/+18 |
| | | | | This isn't well-defined in C++. | ||||
* | swap: Remove unused methods | Lioncash | 2016-05-09 | 1 | -28/+0 |
| | | | | | | | 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. | ||||
* | common: Get rid of a cast in swap.h | Lioncash | 2015-09-11 | 1 | -2/+2 |
| | |||||
* | Common: Cleanup memory and misc includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -3/+7 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | Removed swap code redundancy and moved common swap code to swap.h | archshift | 2015-03-06 | 1 | -14/+97 |
| | |||||
* | Common: Remove dead platform #ifdefs to make the code more readable. | Emmanuel Gil Peyrot | 2015-01-06 | 1 | -4/+0 |
| | | | | | | 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. | ||||
* | Fix compile errors in Clang | Yuri Kunde Schlesner | 2014-10-26 | 1 | -1/+0 |
| | |||||
* | fixes to build on linux | bunnei | 2014-04-23 | 1 | -13/+13 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+535 |