summaryrefslogtreecommitdiff
path: root/src/common/common_funcs.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #362 from lioncash/snprintfGravatar bunnei2018-04-201-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 supportGravatar Lioncash2018-04-191-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 macroGravatar Lioncash2018-04-191-2/+0
|/ | | | C++17 has non-member size() which we can just call where necessary.
* core: Refactor MakeMagic usage and remove dead code.Gravatar bunnei2017-10-151-0/+8
|
* Common: Fix some out-of-style includesGravatar Yuri Kunde Schlesner2017-05-271-1/+1
|
* Remove empty newlines in #include blocks.Gravatar Emmanuel Gil Peyrot2016-09-211-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-formatGravatar Yuri Kunde Schlesner2016-09-181-2/+1
|
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-181-11/+14
|
* common_funcs: Provide rotr and rotl for MSVCGravatar MerryMage2016-05-271-12/+18
|
* VideoCore: Run include-what-you-use and fix most includes.Gravatar Emmanuel Gil Peyrot2016-04-301-0/+4
|
* Common: Get rid of alignment macrosGravatar Lioncash2016-03-091-9/+1
| | | | | The gl rasterizer already uses alignas, so we may as well move everything over.
* Fix building under MinGWGravatar darkf2015-08-171-3/+9
|
* Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.Gravatar bunnei2015-08-151-1/+1
|
* x64: Refactor to remove fake interfaces and general cleanups.Gravatar bunnei2015-08-151-1/+1
|
* Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP.Gravatar bunnei2015-08-151-1/+1
|
* Stop defining GCC always_inline attributes as __forceinlineGravatar archshift2015-08-111-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 2015Gravatar Apology112015-07-121-2/+4
| | | Visual Studio 2015 defines this in stdio now
* Common: Remove unused ROUND_UP_POW2 macro.Gravatar Emmanuel Gil Peyrot2015-06-281-7/+0
|
* Common: Cleanup memory and misc includes.Gravatar Emmanuel Gil Peyrot2015-06-281-4/+0
|
* Common: Remove the BIT macroGravatar Yuri Kunde Schlesner2015-05-091-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 macroGravatar Yuri Kunde Schlesner2015-05-081-0/+2
|
* Common: Add proper macros to test for architecture pointer sizeGravatar Yuri Kunde Schlesner2015-05-071-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.hGravatar Yuri Kunde Schlesner2015-05-071-0/+21
|
* Common: Remove more unused compatibility definesGravatar Yuri Kunde Schlesner2015-05-071-45/+0
|
* Common: Move IO-specific compatibility macros to file_util.cppGravatar Yuri Kunde Schlesner2015-05-071-8/+0
|
* Common: Remove many unnecessary cross-platform compatibility macrosGravatar Yuri Kunde Schlesner2015-05-061-7/+3
|
* Removed swap code redundancy and moved common swap code to swap.hGravatar archshift2015-03-051-77/+0
|
* Merge pull request #581 from archshift/tfeGravatar bunnei2015-02-231-2/+0
|\ | | | | Added information reporting from ThrowFatalError
| * Added information reporting from ThrowFatalErrorGravatar archshift2015-02-221-2/+0
| | | | | | | | This was RE'd from the errdisp applet.
* | Misc cleanup of common and related functionsGravatar archshift2015-02-191-23/+0
| |
* | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.hGravatar archshift2015-02-191-3/+2
|/
* ConfigMem: Clean up the Config memory to be more like the shared page and movedGravatar purpasmart962015-02-161-0/+7
| | | | the helper macro for padding to common_funcs.h
* Asserts: break/crash program, fit to style guide; log.h->assert.hGravatar archshift2015-02-101-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.Gravatar Yuri Kunde Schlesner2015-01-301-0/+4
|
* Fix merge conflictsGravatar darkf2014-12-291-3/+8
|\
| * License changeGravatar purpasmart962014-12-201-2/+2
| |
| * Added missing include in common_funcs.hGravatar Yuri Kunde Schlesner2014-12-131-0/+1
| |
| * Remove redundant include from common_funcs.hGravatar Yuri Kunde Schlesner2014-12-131-2/+0
| |
| * Some code cleanup.Gravatar Tony Wasserka2014-12-091-0/+2
| |
| * Fix some headers to include their dependencies properly.Gravatar Tony Wasserka2014-12-091-0/+4
| |
| * Change NULLs to nullptrs.Gravatar Rohit Nirmal2014-12-031-1/+1
| |
* | Fix MinGW buildGravatar darkf2014-11-281-4/+4
|/
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Gravatar Emmanuel Gil Peyrot2014-11-191-7/+7
| | | | or generated
* Common: Move header guards over to pragma onceGravatar Lioncash2014-08-171-4/+1
| | | | Also replaced C headers with the C++ equivalent ones
* added MIN, MAX, and CLAMP macros to common_funcsGravatar bunnei2014-05-171-0/+5
|
* fix for issue Linux build #9, not sure why this is broken but its unused ↵Gravatar bunnei2014-04-271-13/+0
| | | | code I'm just getting rid of it
* got rid of 'src' folders in each sub-projectGravatar bunnei2014-04-081-0/+245