Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | NVDRV: Refactor and add new NvMap. | Fernando Sahmkow | 2022-10-06 | 1 | -5/+8 |
| | |||||
* | common: fix bitfield aliasing on GCC/Clang | Liam | 2022-07-10 | 1 | -0/+9 |
| | |||||
* | chore: add missing SPDX tags | Andrea Pappacoda | 2022-04-28 | 1 | -29/+3 |
| | | | | Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52 | ||||
* | common: Reduce unused includes | ameerj | 2022-03-19 | 1 | -1/+0 |
| | |||||
* | common: Make use of [[nodiscard]] where applicable | Lioncash | 2020-08-15 | 1 | -13/+6 |
| | | | | | | Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions. | ||||
* | General: Tidy up clang-format warnings part 2 | Lioncash | 2020-08-13 | 1 | -1/+1 |
| | |||||
* | General: Tidy up clang-format warnings | Lioncash | 2020-08-09 | 1 | -1/+1 |
| | |||||
* | Fix -Werror=conversion error. | Markus Wick | 2020-04-24 | 1 | -1/+1 |
| | |||||
* | Revert "common/bit_field: Silence sign-conversion warnings" | Rodrigo Locatti | 2019-11-16 | 1 | -3/+2 |
| | |||||
* | common/bit_field: Silence sign-conversion warnings | Lioncash | 2019-11-15 | 1 | -2/+3 |
| | | | | | We can just use numeric_limits instead of relying on wraparound behavior here. | ||||
* | common_func: Use std::array for INSERT_PADDING_* macros. | bunnei | 2019-11-04 | 1 | -0/+7 |
| | | | | - Zero initialization here is useful for determinism. | ||||
* | common/bit_field: Remove FORCE_INLINE calls | Tobias | 2019-11-03 | 1 | -2/+2 |
| | | | | See bunneis comment here https://github.com/citra-emu/citra/pull/4629#discussion_r258533167. They were supposed to be removed by him, but he missed them. | ||||
* | common/bit_util: Fix bad merge duplicating the copy constructor | Lioncash | 2019-03-21 | 1 | -2/+0 |
| | | | | | Introduced as a result of #2090, we already define the copy constructor further down below, so this isn't needed. | ||||
* | Merge pull request #2090 from FearlessTobi/port-4599 | bunnei | 2019-03-21 | 1 | -3/+11 |
|\ | | | | | Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField | ||||
| * | Make bitfield assignment operator public | fearlessTobi | 2019-02-13 | 1 | -6/+2 |
| | | | | | | | | | | | | This change needs to be made to get the code compiling again. It was suggested after a conversation with Lioncash. The conversation can be seen here: https://user-images.githubusercontent.com/20753089/45064197-b6107800-b0b2-11e8-9db8-f696299fb86a.PNG | ||||
| * | common/bitfield: make it endianness-aware | Weiyi Wang | 2019-02-06 | 1 | -3/+9 |
| | | |||||
* | | common/bit_field: Make BitField trivially copyable | Lioncash | 2019-03-07 | 1 | -9/+7 |
|/ | | | | | | | | | | | This makes the class much more flexible and doesn't make performing copies with classes that contain a bitfield member a pain. Given BitField instances are only intended to be used within unions, the fact the full storage value would be copied isn't a big concern (only sizeof(union_type) would be copied anyways). While we're at it, provide defaulted move constructors for consistency. | ||||
* | Common/Bitfield: store value as unsigned type | Weiyi Wang | 2018-11-16 | 1 | -9/+10 |
| | | | | Storing signed type causes the following behaviour: extractValue can do overflow/negative left shift. Now it only relies on two implementation-defined behaviours (which are almost always defined as we want): unsigned->signed conversion and signed right shift | ||||
* | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -2/+2 |
| | |||||
* | bit_field: Convert ToBool() into explicit operator bool | Lioncash | 2018-08-21 | 1 | -2/+1 |
| | | | | Gets rid of a TODO that is long overdue. | ||||
* | bit_field: Remove is_pod check, add is_trivially_copyable_v. | bunnei | 2018-04-18 | 1 | -6/+1 |
| | |||||
* | bit_field: Make all methods constexpr. | bunnei | 2018-04-14 | 1 | -5/+5 |
| | |||||
* | Common: Clean up meta-template logic in BitField | Yuri Kunde Schlesner | 2017-05-25 | 1 | -3/+3 |
| | |||||
* | Make BitField and ResultCode constexpr-initializable | Yuri Kunde Schlesner | 2017-05-25 | 1 | -23/+42 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -1/+0 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -16/+10 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -1/+1 |
| | |||||
* | AudioCore: Skeleton Implementation | MerryMage | 2016-02-21 | 1 | -1/+1 |
| | | | | | | | | | This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation. | ||||
* | BitField: Make trivially copyable and remove assignment operator | MerryMage | 2016-02-12 | 1 | -24/+20 |
| | |||||
* | bit_field: Re-enable code on MSVC | Lioncash | 2015-10-01 | 1 | -11/+0 |
| | |||||
* | Stop defining GCC always_inline attributes as __forceinline | archshift | 2015-08-12 | 1 | -6/+6 |
| | | | | | __forceinline is a MSVC extension, which may confuse some people working on the codebase. Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved. | ||||
* | Merge pull request #914 from yuriks/bitfield-mask | Yuri Kunde Schlesner | 2015-07-12 | 1 | -2/+2 |
|\ | | | | | Common: Fix mask generation in BitField | ||||
| * | Common: Remove redundant masking in BitField | Yuri Kunde Schlesner | 2015-07-10 | 1 | -1/+1 |
| | | | | | | | | | | For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant. | ||||
| * | Common: Fix mask generation in BitField | Yuri Kunde Schlesner | 2015-07-10 | 1 | -1/+1 |
| | | | | | | | | Fixes #913 | ||||
* | | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
|/ | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #322 from chinhodado/master | bunnei | 2014-12-22 | 1 | -0/+6 |
|\ | | | | | More warning cleanups | ||||
| * | More warning cleanups | Chin | 2014-12-21 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 1 | -1/+1 |
|\ \ | |/ |/| | License change | ||||
| * | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | | |||||
* | | BitField: Add an explicit Assign method. | Tony Wasserka | 2014-12-20 | 1 | -1/+5 |
|/ | | | | This is useful when doing crazy stuff like inheriting from BitField. | ||||
* | bit_field: Fix a typo in the sample usage. | Lioncash | 2014-10-25 | 1 | -1/+1 |
| | |||||
* | BitField: Cast enum values to proper integer type. | Tony Wasserka | 2014-07-16 | 1 | -1/+1 |
| | |||||
* | BitField: Add a static_assert. | Tony Wasserka | 2014-07-16 | 1 | -0/+1 |
| | | | | Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout. | ||||
* | BitField: Delete copy assignment to prevent obscure bugs. | Tony Wasserka | 2014-07-16 | 1 | -0/+16 |
| | | | | Cf. https://github.com/dolphin-emu/dolphin/pull/483 | ||||
* | BitField: Add an explicit evaluation method. | Tony Wasserka | 2014-07-16 | 1 | -0/+5 |
| | | | | Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case. | ||||
* | removed incorrect dolphin copyright line | bunnei | 2014-05-08 | 1 | -1/+0 |
| | |||||
* | fixed include of common in bit_field.h | bunnei | 2014-05-08 | 1 | -1/+1 |
| | |||||
* | added BitField to common | bunnei | 2014-05-08 | 1 | -0/+173 |