summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2022-07-16Merge pull request #8511 from german77/hbmenubunnei
service: ptm: Add TS, nifm: Stub GetInternetConnectionStatus
2022-07-15Merge pull request #8560 from liamwhite/bitfield-may-aliasbunnei
common: fix bitfield aliasing on GCC/Clang
2022-07-15common_funcs: Mark padding as [[maybe_unused]]Merry
2022-07-09common: fix bitfield aliasing on GCC/ClangLiam
2022-07-07Merge pull request #8522 from lat9nq/consolidate-settingsMorph
settings: Consolidate RangedSetting's with regular ones
2022-07-02common/fiber: make fibers easier to useLiam
2022-06-30settings: Consolidate RangedSetting's with regular oneslat9nq
The latest git version of GCC has issues with my diamond inheritance shenanigans. Since that's now two compilers that don't like it I thought it'd be best to just axe all of it and just have the two templates like before. This rolls the features of BasicRangedSetting into BasicSetting, and likewise RangedSetting into Setting. It also renames them from BasicSetting and Setting to Setting and SwitchableSetting respectively. Now longer name corresponds to more complex thing.
2022-06-30Adress Feedback.Fernando Sahmkow
2022-06-28service: ptm: Rewrite PSM and add TSgerman77
2022-06-28Native clock: Use atomic ops as before.Fernando Sahmkow
2022-06-28Native Clock: remove inaccuracy mask.Fernando Sahmkow
2022-06-28Core: Fix tests.Fernando Sahmkow
2022-06-28Core/Common: Corrections to core timing and add critical priority.Fernando Sahmkow
2022-06-28Common: improve native clock.Fernando Sahmkow
2022-06-21Merge pull request #8432 from liamwhite/watchpointbunnei
core/debugger: memory breakpoint support
2022-06-16Merge pull request #8472 from german77/taceMorph
common: param_package: Demote DEBUG to TRACE for getters
2022-06-16core/debugger: memory breakpoint supportLiam
2022-06-16common: param_package: Demote DEBUG to TRACE for gettersNarr the Reg
2022-06-15Merge pull request #8460 from Morph1984/bounded-qliamwhite
bounded_threadsafe_queue: Use constexpr capacity and mask
2022-06-15bounded_threadsafe_queue: Use constexpr capacity and maskMorph
While this is the primary change, we also: - Remove the mpsc namespace and rename Queue to MPSCQueue - Make Slot a private struct within MPSCQueue - Remove the AlignedAllocator template argument, as we use std::allocator - Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1
2022-06-14Merge pull request #8383 from Morph1984/shadow-of-the-pastMai
yuzu: Make variable shadowing a compile-time error
2022-06-13common/assert: rework ASSERT handling to avoid std::function usageLiam
2022-06-13common/assert: add unlikelyLiam
2022-06-13common: Don't test ASSERT conditions inlineLiam
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-06-13common: Eliminate variable shadowingMorph
GCC/Clang treats variables within lambdas as potentially shadowing those outside the lambda, despite them not being captured inside the lambda's capture list.
2022-06-11Merge pull request #8413 from behunin/bounded-queuebunnei
gpu_thread: Move to bounded queue
2022-06-11Merge pull request #8393 from lat9nq/default-vulkanbunnei
general: Set renderer_backend's default to Vulkan
2022-06-05common: consolidate ELF structure definitionsLiam
2022-06-02gpu_thread: Move to bounded queueLevi Behunin
2022-06-01core/debugger: Implement new GDB stub debuggerLiam
2022-05-29settings: Set Vulkan to the default renderer backendlat9nq
2022-05-28Merge pull request #8374 from german77/asnycvibrationsbunnei
input_common: Make vibration request async
2022-05-26path_util: Resolve `-Wpointer-bool-conversion` warninglat9nq
Clang (rightfully) warns that we are checking for the existence of pointer to something just allocated on the stack, which is always true. Instead, check whether GetModuleFileNameW failed. Co-authored-by: Mai M <mathew1800@gmail.com>
2022-05-23input_common: Make vibration request asyncNarr the Reg
2022-05-15string_util: Add U16StringFromBufferlat9nq
Qt's QString::toStdU16String doesn't work when compiling against the latest libstdc++, at least when using Clang. This function effectively does the same thing as the aforementioned one.
2022-05-08VideoCore: Add option to dump the macros.Fernando Sahmkow
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2022-04-28Merge pull request #8280 from Tachi107/spdx-fixupMai M
chore: add missing SPDX tags
2022-04-28GCC 12 fixesLiam
2022-04-28chore: add missing SPDX tagsAndrea Pappacoda
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-16yuzu: Add custom ringcon configurationgerman77
2022-04-11hle: kernel: Use std::mutex instead of spin locks for most kernel locking.bunnei
2022-04-07common: Replace lock_guard with scoped_lockMerry
2022-04-07Merge pull request #8143 from merryhime/rdtscFernando S
native_clock: Use lfence with rdtsc
2022-04-06service: jit: stub JIT serviceLiam
2022-04-04Merge pull request #8089 from merryhime/paranoiabunnei
configuration: Add Paranoid CPU accuracy level
2022-04-03native_clock: Internal linkage for FencedRDTSCMerry
__forceinline required on MSVC for function to be inlined
2022-04-03native_clock: Use lfence with rdtscmerry
2022-04-02native_clock: Use writeback from CAS to avoid double-loadingmerry