summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2022-07-23yuzu: Add webcam support and rebase to latest masterNarr the Reg
2022-07-23input_common: Add camera drivergerman77
2022-07-23Merge pull request #8545 from Kelebek1/Audioliamwhite
Project Andio
2022-07-22ci,CMake: Drop Conan support for vcpkglat9nq
Between packages breaking, Conan always being a moving target for minimum required CMake support, and now their moves to Conan 2.0 causing existing packages to break, I suppose this was a long time coming. vcpkg isn't without its drawbacks, but at the moment it seems easier on the project to use for external packages. Mostly removes the logic for Conan from the root CMakeLists file, leaving basic find_package()'s in its place. Sets only the find_package()'s that require CONFIG mode as necessary. clang and linux CI now use the vcpkg toolchain file configured in the Docker container when possible. mingw CI turns off YUZU_TESTS because there's no way on the container to run Windows executables on a Linux host anyway, and it's not easy to get Catch2 there.
2022-07-22Project AndioKelebek1
2022-07-17Merge pull request #8508 from yuzu-emu/mc-speed-limitbunnei
hle: service: nvflinger: Factor speed limit into frame time calculation.
2022-07-16Merge pull request #8543 from BreadFish64/use_tsc_from_capsbunnei
common/x64: Use TSC clock rate from CPUID when available
2022-07-16yuzu: settings: Remove framerate cap and merge unlocked framerate setting.bunnei
- These were all somewhat redundant.
2022-07-16Merge pull request #8593 from merryhime/ranged-setting-Tbunnei
common/setting: Make ranged a property of the type
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/setting: Make ranged a property of the typemerry
- Avoids new GCC 12 warnings when Type is of form std::optional<T> - Makes more sense this way, because ranged is not a property which would change over time
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-06guard against div-by-zeroMarshall Mohror
2022-07-06common/x64: Use TSC clock rate from CPUID when availableMarshall Mohror
The current method used to estimate the TSC is fairly accurate - within a few kHz - but the exact value can be extracted from CPUID if available.
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