summaryrefslogtreecommitdiff
path: root/src/common/memory_util.cpp
AgeCommit message (Collapse)Author
2018-10-23common: Remove memory_util.cpp/.hLioncash
Everything from here is completely unused and also written with the notion of supporting 32-bit architecture variants in mind. Given the Switch itself is on a 64-bit architecture, we won't be supporting 32-bit architectures. If we need specific allocation functions in the future, it's likely more worthwhile to new functions for that purpose.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-07-07Port #3579 from CitrafearlessTobi
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-04-29string_util: Remove StringFromFormat() and related functionsLioncash
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
2018-04-26common: Move logging macros over to new fmt-capable macros where applicableLioncash
2018-01-20Format: Run the new clang format on everythingJames Rowe
2016-09-21Remove special rules for Windows.h and library includesYuri Kunde Schlesner
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2015-09-11memory_util: Remove unnecessary assignment in FreeMemoryPagesLioncash
2015-09-11memory_util: Remove commented out printf statementsLioncash
2015-09-11general: Replace 0 literals with nullptr where applicableLioncash
2015-08-15Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei
2015-06-28Common: Cleanup memory and misc includes.Emmanuel Gil Peyrot
2015-05-07Common: Add proper macros to test for architecture pointer sizeYuri Kunde Schlesner
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.
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-02-18Remove the useless msg_handler compilation unit that was left over from Dolphinarchshift
2014-12-20License changepurpasmart96
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-03Change NULLs to nullptrs.Rohit Nirmal
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-09-11Merge pull request #99 from archshift/ext-checkbunnei
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
2014-09-08common: Prune all redundant includesarchshift
2014-09-08Added string_util to common, small changes in loader.cpparchshift
2014-08-17Merge pull request #52 from lioncash/memorybunnei
Common: Correctly set ptr to null if mmap fails in memory_util
2014-08-17Common: Correctly set ptr to null if mmap fails in memory_utilLioncash
On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
2014-08-17Common: Move remaining C header includes over to their C++ equivalentLioncash
2014-04-08fixed project includes to use new directory structurebunnei
2014-04-08got rid of 'src' folders in each sub-projectbunnei