Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common: common_funcs: Add R_UNLESS macro. | bunnei | 2021-01-11 | 1 | -0/+8 |
| | |||||
* | common_funcs: Add missing XOR operators to DECLARE_ENUM_FLAG_OPERATORS | Lioncash | 2020-08-24 | 1 | -4/+10 |
| | | | | | Ensures that the full set of bitwise operators are available for types that make use of this macro. | ||||
* | common: Make use of [[nodiscard]] where applicable | Lioncash | 2020-08-15 | 1 | -7/+7 |
| | | | | | | 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. | ||||
* | common: common_funcs: Add a macro for defining enum flag operators. | bunnei | 2020-04-17 | 1 | -0/+32 |
| | |||||
* | common_funcs: Remove semicolons from INSERT_PADDING_* macros | Lioncash | 2019-11-14 | 1 | -4/+6 |
| | | | | | Makes code that uses the macros consistent by requiring the lines to be terminated with a semicolon. | ||||
* | common_funcs: silence sign-conversion warnings in MakeMagic() | Lioncash | 2019-11-13 | 1 | -1/+1 |
| | | | | | We can trivially resolve these by casting the characters to unsigned values and then shifting the bits. | ||||
* | common_func: Use std::array for INSERT_PADDING_* macros. | bunnei | 2019-11-04 | 1 | -12/+10 |
| | | | | - Zero initialization here is useful for determinism. | ||||
* | Revert "common_func: Use std::array for INSERT_PADDING_* macros." | bunnei | 2019-11-03 | 1 | -3/+2 |
| | |||||
* | common_func: Use std::array for INSERT_PADDING_* macros. | bunnei | 2019-11-03 | 1 | -2/+3 |
| | | | | - Zero initialization here is useful for determinism. | ||||
* | texture_cache: Address Feedback | Fernando Sahmkow | 2019-07-05 | 1 | -10/+0 |
| | |||||
* | Reduce amount of size calculations. | Fernando Sahmkow | 2019-06-21 | 1 | -0/+11 |
| | |||||
* | Port #3732 from Citra: "common: Fix compilation on ARM" | Cameron Cawley | 2018-07-29 | 1 | -3/+1 |
| | |||||
* | Merge pull request #710 from lioncash/unused | bunnei | 2018-07-19 | 1 | -38/+0 |
|\ | | | | | common/common_funcs: Remove unused rotation functions | ||||
| * | common/common_funcs: Remove unused rotation functions | Lioncash | 2018-07-19 | 1 | -38/+0 |
| | | | | | | | | | | | | | | These are unused and essentially don't provide much benefit either. If we ever need rotation functions, these can be introduced in a way that they don't sit in a common_* header and require a bunch of ifdefing to simply be available | ||||
* | | common/misc: Deduplicate code in GetLastErrorMsg() | Lioncash | 2018-07-19 | 1 | -1/+3 |
|/ | | | | | | | Android and macOS have supported thread_local for quite a while, but most importantly is that we don't even really need it. Instead of using a thread-local buffer, we can just return a non-static buffer as a std::string, avoiding the need for that quality entirely. | ||||
* | Port #3579 from Citra | fearlessTobi | 2018-07-07 | 1 | -2/+2 |
| | |||||
* | Merge pull request #362 from lioncash/snprintf | bunnei | 2018-04-20 | 1 | -5/+0 |
|\ | | | | | common_funcs: Remove check for VS versions that we don't even support | ||||
| * | common_funcs: Remove check for VS versions that we don't even support | Lioncash | 2018-04-20 | 1 | -5/+0 |
| | | | | | | | | | | We don't support any VS versions that don't already have snprintf in the standard library implementation. | ||||
* | | common_funcs: Remove ARRAY_SIZE macro | Lioncash | 2018-04-20 | 1 | -2/+0 |
|/ | | | | C++17 has non-member size() which we can just call where necessary. | ||||
* | core: Refactor MakeMagic usage and remove dead code. | bunnei | 2017-10-15 | 1 | -0/+8 |
| | |||||
* | Common: Fix some out-of-style includes | Yuri Kunde Schlesner | 2017-05-28 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | 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 | -11/+14 |
| | |||||
* | common_funcs: Provide rotr and rotl for MSVC | MerryMage | 2016-05-27 | 1 | -12/+18 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -0/+4 |
| | |||||
* | Common: Get rid of alignment macros | Lioncash | 2016-03-09 | 1 | -9/+1 |
| | | | | | The gl rasterizer already uses alignas, so we may as well move everything over. | ||||
* | Fix building under MinGW | darkf | 2015-08-18 | 1 | -3/+9 |
| | |||||
* | Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64. | bunnei | 2015-08-16 | 1 | -1/+1 |
| | |||||
* | x64: Refactor to remove fake interfaces and general cleanups. | bunnei | 2015-08-16 | 1 | -1/+1 |
| | |||||
* | Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP. | bunnei | 2015-08-15 | 1 | -1/+1 |
| | |||||
* | Stop defining GCC always_inline attributes as __forceinline | archshift | 2015-08-12 | 1 | -1/+2 |
| | | | | | __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. | ||||
* | don´t define snprintf on Visual Studio 2015 | Apology11 | 2015-07-12 | 1 | -2/+4 |
| | | | Visual Studio 2015 defines this in stdio now | ||||
* | Common: Remove unused ROUND_UP_POW2 macro. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -7/+0 |
| | |||||
* | Common: Cleanup memory and misc includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -4/+0 |
| | |||||
* | Common: Remove the BIT macro | Yuri Kunde Schlesner | 2015-05-09 | 1 | -2/+0 |
| | | | | | | | When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro. | ||||
* | Common: Add BIT macro | Yuri Kunde Schlesner | 2015-05-09 | 1 | -0/+2 |
| | |||||
* | Common: Add proper macros to test for architecture pointer size | Yuri Kunde Schlesner | 2015-05-07 | 1 | -7/+0 |
| | | | | | | | The old system of just defining macros available in some other platform was susceptible to silently using the wrong code if you forgot to include a particular header. This fixes a crash on non-Windows platforms introduced by e1fbac3ca13d37d2625c11d30cfdece4327b446b. | ||||
* | Common: Move alignment macros to common_funcs.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+21 |
| | |||||
* | Common: Remove more unused compatibility defines | Yuri Kunde Schlesner | 2015-05-07 | 1 | -45/+0 |
| | |||||
* | Common: Move IO-specific compatibility macros to file_util.cpp | Yuri Kunde Schlesner | 2015-05-07 | 1 | -8/+0 |
| | |||||
* | Common: Remove many unnecessary cross-platform compatibility macros | Yuri Kunde Schlesner | 2015-05-07 | 1 | -7/+3 |
| | |||||
* | Removed swap code redundancy and moved common swap code to swap.h | archshift | 2015-03-06 | 1 | -77/+0 |
| | |||||
* | Merge pull request #581 from archshift/tfe | bunnei | 2015-02-23 | 1 | -2/+0 |
|\ | | | | | Added information reporting from ThrowFatalError | ||||
| * | Added information reporting from ThrowFatalError | archshift | 2015-02-22 | 1 | -2/+0 |
| | | | | | | | | This was RE'd from the errdisp applet. | ||||
* | | Misc cleanup of common and related functions | archshift | 2015-02-20 | 1 | -23/+0 |
| | | |||||
* | | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h | archshift | 2015-02-20 | 1 | -3/+2 |
|/ | |||||
* | ConfigMem: Clean up the Config memory to be more like the shared page and moved | purpasmart96 | 2015-02-17 | 1 | -0/+7 |
| | | | | the helper macro for padding to common_funcs.h | ||||
* | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 2015-02-11 | 1 | -20/+15 |
| | | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | ||||
* | Common: Fix SCOPE_EXIT to actually create unique identifiers. | Yuri Kunde Schlesner | 2015-01-30 | 1 | -0/+4 |
| | |||||
* | Fix merge conflicts | darkf | 2014-12-30 | 1 | -3/+8 |
|\ | |||||
| * | License change | purpasmart96 | 2014-12-21 | 1 | -2/+2 |
| | | |||||
| * | Added missing include in common_funcs.h | Yuri Kunde Schlesner | 2014-12-13 | 1 | -0/+1 |
| | | |||||
| * | Remove redundant include from common_funcs.h | Yuri Kunde Schlesner | 2014-12-13 | 1 | -2/+0 |
| | | |||||
| * | Some code cleanup. | Tony Wasserka | 2014-12-09 | 1 | -0/+2 |
| | | |||||
| * | Fix some headers to include their dependencies properly. | Tony Wasserka | 2014-12-09 | 1 | -0/+4 |
| | | |||||
| * | Change NULLs to nullptrs. | Rohit Nirmal | 2014-12-03 | 1 | -1/+1 |
| | | |||||
* | | Fix MinGW build | darkf | 2014-11-29 | 1 | -4/+4 |
|/ | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -7/+7 |
| | |||||
* | Common: Move header guards over to pragma once | Lioncash | 2014-08-17 | 1 | -4/+1 |
| | | | | Also replaced C headers with the C++ equivalent ones | ||||
* | added MIN, MAX, and CLAMP macros to common_funcs | bunnei | 2014-05-17 | 1 | -0/+5 |
| | |||||
* | fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of it | bunnei | 2014-04-28 | 1 | -13/+0 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+245 |