summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #367 from lioncash/clampGravatar bunnei2018-04-201-5/+0
|\ | | | | math_util: Remove the Clamp() function
| * math_util: Remove the Clamp() functionGravatar Lioncash2018-04-201-5/+0
| | | | | | | | | | C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
* | Merge pull request #361 from lioncash/commonGravatar bunnei2018-04-201-18/+12
|\ \ | | | | | | common_types: Minor changes
| * | common_types: Convert typedefs to using aliasesGravatar Lioncash2018-04-191-12/+12
| | | | | | | | | | | | May as well while we're making changes to this file.
| * | common_types: Remove unnecessary check for whether or not__func__ is definedGravatar Lioncash2018-04-191-6/+0
| |/ | | | | | | VS has supported this for quite a while.
* | Merge pull request #364 from lioncash/thread-localGravatar bunnei2018-04-201-19/+0
|\ \ | | | | | | common/thread: Remove unnecessary feature checking for thread_local
| * | common/thread: Remove unnecessary feature checking for thread_localGravatar Lioncash2018-04-191-19/+0
| |/ | | | | | | Every compiler we require already supports it.
* | 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.
* | Merge pull request #363 from lioncash/array-sizeGravatar bunnei2018-04-201-2/+0
|\ \ | | | | | | common_funcs: Remove ARRAY_SIZE macro
| * | common_funcs: Remove ARRAY_SIZE macroGravatar Lioncash2018-04-191-2/+0
| |/ | | | | | | C++17 has non-member size() which we can just call where necessary.
* | Merge pull request #366 from lioncash/vecGravatar bunnei2018-04-201-30/+0
|\ \ | | | | | | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
| * | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Gravatar Lioncash2018-04-191-30/+0
| |/ | | | | | | These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators).
* / common: Remove code_block.hGravatar Lioncash2018-04-192-86/+0
|/ | | | | We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more.
* bit_field: Remove is_pod check, add is_trivially_copyable_v.Gravatar bunnei2018-04-171-6/+1
|
* common: Port cityhash code from Citra.Gravatar bunnei2018-04-135-147/+502
|
* bit_field: Make all methods constexpr.Gravatar bunnei2018-04-131-5/+5
|
* Update fmtlib to fix msvc warningsGravatar James Rowe2018-04-052-5/+8
| | | | | | Additionally, when updating fmtlib, there was a change in fmtlib broke how the old logging macro was overloaded, so this works around that by just naming the fmtlib macro impl something different
* logging: Change FmtLogMessage to use variadic template instead of FMT_VARIADICGravatar Daniel Lim Wee Soong2018-04-032-5/+11
| | | | Due to premature merging of #262 I think the build may be failing right now. Should merge this ASAP to fix it.
* Merge pull request #262 from daniellimws/fmtlib-macrosGravatar bunnei2018-04-0210-67/+111
|\ | | | | Logging: Add fmtlib-based macros
| * Remove dependency chronoGravatar Daniel Lim Wee Soong2018-03-221-1/+0
| | | | | | | | | | | | Earlier chrono was included but after some code changed it was no longer needed Forgot to remove it so I'm removing it now
| * Logging: Create logging macros based on fmtlibGravatar Daniel Lim Wee Soong2018-03-2210-67/+112
| | | | | | | | | | | | | | | | | | Add a new set of logging macros based on fmtlib Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533 Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet so FMT_VARIADIC is used.
* | Merge pull request #276 from N00byKing/acctoyuzuGravatar bunnei2018-04-021-1/+1
|\ \ | | | | | | Change Telemetry Names to yuzu and remove links to citra
| * | telemetry.h: Reword comment from citra to yuzuGravatar N00byKing2018-03-271-1/+1
| | |
* | | common: fix swap functions on Bitrig and OpenBSDGravatar Daniel Lim Wee Soong2018-04-031-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.
* | | service: Add NFP module interface.Gravatar bunnei2018-03-292-0/+2
|/ / | | | | | | | | | | service: Initialize NFP service. Log: Add NFP service as a log subtype.
* | log.h: Change comment from citra to yuzuGravatar N00byKing2018-03-261-1/+1
| |
* | file_util.h: Update Comment from citra to yuzuGravatar N00byKing2018-03-261-1/+1
| |
* | cpu_detect.cpp: Change comment from citra to yuzuGravatar N00byKing2018-03-261-1/+1
| |
* | Service/SSL: add ssl serviceGravatar mailwl2018-03-232-0/+2
| |
* | Service/spl: add module and servicesGravatar mailwl2018-03-222-0/+2
| |
* | CMake: Set EMU_ARCH_BITS in CMakeLists.txtGravatar N00byKing2018-03-212-35/+0
| |
* | Service: add fatal:u, fatal:p servicesGravatar mailwl2018-03-202-0/+2
|/
* Merge pull request #206 from mailwl/aoc-listaddoncontentGravatar bunnei2018-02-202-0/+2
|\ | | | | Service/AOC: stub ListAddOnContent function
| * Service/AOC: stub ListAddOnContent functionGravatar mailwl2018-02-202-0/+2
| |
* | logging: Add category for Friend service.Gravatar bunnei2018-02-192-0/+2
|/
* log: Add logging category for NS services.Gravatar bunnei2018-02-142-0/+2
|
* logger: Add Time service logging category.Gravatar bunnei2018-02-042-0/+2
|
* logger: Add SET service logging category.Gravatar bunnei2018-02-042-15/+11
|
* logger: Add PCTL service logging category.Gravatar bunnei2018-02-042-0/+2
|
* logger: Add LM service logging category.Gravatar bunnei2018-02-042-0/+2
|
* logger: Add APM service logging category.Gravatar bunnei2018-02-042-0/+2
|
* logger: Add NIFM service logging category.Gravatar bunnei2018-02-042-0/+2
|
* logger: Add VI service logging category.Gravatar bunnei2018-02-042-0/+2
|
* logger: Add AM service logging category.Gravatar bunnei2018-02-042-0/+2
|
* logger: Add "account" service logging category.Gravatar bunnei2018-02-042-0/+2
|
* audout:u OpenAudioOut and IAudioOut (#138)Gravatar st4rk2018-01-242-0/+2
| | | | | | | | | | | | | | | | | | | | | | * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * audout:u OpenAudioOut implementation and IAudioOut cmd 1,2,3,4,5 implementation * using an enum for audio_out_state as well as changing its initialize to member initializer list * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * added missing Audio loggin subclass, minor fixes, clang comment breakline * Solving backend logging conflict * minor fix * Fixed duplicated Service NVDRV in backend.cpp, my bad
* logging: add missing NVDRV subclass to macro listGravatar Rozlette2018-01-231-0/+1
|
* Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114)Gravatar David2018-01-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid * used clang-format-3.9 instead * lowercase pid * Moved nvmemp handlers to cpp * Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG * using std::arrays instead of c arrays * nvhost get config now uses std::array completely * added pid logging back * updated cmakelist * missing includes * added array, removed memcpy * clang-format6.0
* Fix spelling error in CMakeListsGravatar Matthew Brener2018-01-211-1/+1
| | | Minor spelling error of its --> it's