summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ci,CMake: Drop Conan support for vcpkgGravatar lat9nq2022-07-221-2/+3
| | | | | | | | | | | | | | | | | | 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.
* Merge pull request #8508 from yuzu-emu/mc-speed-limitGravatar bunnei2022-07-172-3/+0
|\ | | | | hle: service: nvflinger: Factor speed limit into frame time calculation.
| * yuzu: settings: Remove framerate cap and merge unlocked framerate setting.Gravatar bunnei2022-07-162-3/+0
| | | | | | | | - These were all somewhat redundant.
* | Merge pull request #8543 from BreadFish64/use_tsc_from_capsGravatar bunnei2022-07-163-1/+22
|\ \ | |/ |/| common/x64: Use TSC clock rate from CPUID when available
| * guard against div-by-zeroGravatar Marshall Mohror2022-07-061-2/+5
| |
| * common/x64: Use TSC clock rate from CPUID when availableGravatar Marshall Mohror2022-07-063-1/+19
| | | | | | | | 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.
* | Merge pull request #8593 from merryhime/ranged-setting-TGravatar bunnei2022-07-161-34/+33
|\ \ | | | | | | common/setting: Make ranged a property of the type
| * | common/setting: Make ranged a property of the typeGravatar merry2022-07-151-34/+33
| | | | | | | | | | | | | | | - 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
* | | Merge pull request #8511 from german77/hbmenuGravatar bunnei2022-07-162-2/+2
|\ \ \ | | | | | | | | service: ptm: Add TS, nifm: Stub GetInternetConnectionStatus
| * | | service: ptm: Rewrite PSM and add TSGravatar german772022-06-282-2/+2
| | | |
* | | | Merge pull request #8560 from liamwhite/bitfield-may-aliasGravatar bunnei2022-07-151-0/+9
|\ \ \ \ | |_|/ / |/| | | common: fix bitfield aliasing on GCC/Clang
| * | | common: fix bitfield aliasing on GCC/ClangGravatar Liam2022-07-091-0/+9
| | | |
* | | | common_funcs: Mark padding as [[maybe_unused]]Gravatar Merry2022-07-151-4/+6
|/ / /
* | | Merge pull request #8522 from lat9nq/consolidate-settingsGravatar Morph2022-07-071-270/+182
|\ \ \ | |_|/ |/| | settings: Consolidate RangedSetting's with regular ones
| * | settings: Consolidate RangedSetting's with regular onesGravatar lat9nq2022-06-301-270/+182
| |/ | | | | | | | | | | | | | | | | | | | | | | 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.
* | common/fiber: make fibers easier to useGravatar Liam2022-07-022-20/+8
| |
* | Adress Feedback.Gravatar Fernando Sahmkow2022-06-301-1/+0
| |
* | Native clock: Use atomic ops as before.Gravatar Fernando Sahmkow2022-06-282-24/+29
| |
* | Native Clock: remove inaccuracy mask.Gravatar Fernando Sahmkow2022-06-282-6/+1
| |
* | Core: Fix tests.Gravatar Fernando Sahmkow2022-06-282-2/+2
| |
* | Core/Common: Corrections to core timing and add critical priority.Gravatar Fernando Sahmkow2022-06-282-4/+10
| |
* | Common: improve native clock.Gravatar Fernando Sahmkow2022-06-283-29/+29
|/
* Merge pull request #8432 from liamwhite/watchpointGravatar bunnei2022-06-211-0/+3
|\ | | | | core/debugger: memory breakpoint support
| * core/debugger: memory breakpoint supportGravatar Liam2022-06-161-0/+3
| |
* | Merge pull request #8472 from german77/taceGravatar Morph2022-06-161-3/+3
|\ \ | |/ |/| common: param_package: Demote DEBUG to TRACE for getters
| * common: param_package: Demote DEBUG to TRACE for gettersGravatar Narr the Reg2022-06-161-3/+3
| |
* | Merge pull request #8460 from Morph1984/bounded-qGravatar liamwhite2022-06-151-86/+73
|\ \ | | | | | | bounded_threadsafe_queue: Use constexpr capacity and mask
| * | bounded_threadsafe_queue: Use constexpr capacity and maskGravatar Morph2022-06-151-86/+73
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #8383 from Morph1984/shadow-of-the-pastGravatar Mai2022-06-141-2/+2
|\ \ \ | |_|/ |/| | yuzu: Make variable shadowing a compile-time error
| * | common: Eliminate variable shadowingGravatar Morph2022-06-131-2/+2
| |/ | | | | | | GCC/Clang treats variables within lambdas as potentially shadowing those outside the lambda, despite them not being captured inside the lambda's capture list.
* | common/assert: rework ASSERT handling to avoid std::function usageGravatar Liam2022-06-132-35/+20
| |
* | common/assert: add unlikelyGravatar Liam2022-06-131-1/+1
| |
* | common: Don't test ASSERT conditions inlineGravatar Liam2022-06-132-32/+36
| |
* | common: Change semantics of UNREACHABLE to unconditionally crashGravatar Liam2022-06-133-3/+18
|/
* Merge pull request #8413 from behunin/bounded-queueGravatar bunnei2022-06-111-0/+180
|\ | | | | gpu_thread: Move to bounded queue
| * gpu_thread: Move to bounded queueGravatar Levi Behunin2022-06-021-0/+180
| |
* | Merge pull request #8393 from lat9nq/default-vulkanGravatar bunnei2022-06-111-1/+1
|\ \ | | | | | | general: Set renderer_backend's default to Vulkan
| * | settings: Set Vulkan to the default renderer backendGravatar lat9nq2022-05-291-1/+1
| | |
* | | common: consolidate ELF structure definitionsGravatar Liam2022-06-052-0/+334
| |/ |/|
* | core/debugger: Implement new GDB stub debuggerGravatar Liam2022-06-012-1/+2
|/
* Merge pull request #8374 from german77/asnycvibrationsGravatar bunnei2022-05-281-0/+1
|\ | | | | input_common: Make vibration request async
| * input_common: Make vibration request asyncGravatar Narr the Reg2022-05-231-0/+1
| |
* | path_util: Resolve `-Wpointer-bool-conversion` warningGravatar lat9nq2022-05-261-3/+1
|/ | | | | | | | | 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>
* string_util: Add U16StringFromBufferGravatar lat9nq2022-05-152-0/+6
| | | | | | 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.
* VideoCore: Add option to dump the macros.Gravatar Fernando Sahmkow2022-05-081-0/+1
| | | | Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
* Merge pull request #8280 from Tachi107/spdx-fixupGravatar Mai M2022-04-2819-172/+59
|\ | | | | chore: add missing SPDX tags
| * chore: add missing SPDX tagsGravatar Andrea Pappacoda2022-04-2819-172/+59
| | | | | | | | Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
* | GCC 12 fixesGravatar Liam2022-04-281-1/+1
|/
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-04-2367-211/+136
| | | | | 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.
* yuzu: Add custom ringcon configurationGravatar german772022-04-162-0/+4
|