summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8784 from Docteh/nosnekGravatar liamwhite2022-08-211-9/+0
|\ | | | | code: dodge PAGE_SIZE #define
| * code: dodge PAGE_SIZE #defineGravatar Kyle Kienapfel2022-08-191-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779
* | common: remove unneeded x86-specific headerGravatar liushuyu2022-08-161-1/+0
|/
* Make copyright headers SPDX-compliantGravatar FearlessTobi2022-08-151-3/+2
|
* core, network: Add ability to proxy socket packetsGravatar FearlessTobi2022-08-153-7/+56
|
* Allow audio volume up to 200%Gravatar Kelebek12022-08-122-2/+2
|
* common: move forwarded value into SPSCQueueGravatar Liam2022-07-291-1/+1
|
* Revert Coretiming PRs 8531 and 7454 (#8591)Gravatar Maide2022-07-272-6/+1
|
* chore: make yuzu REUSE compliantGravatar Andrea Pappacoda2022-07-2731-106/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
* network, yuzu: Make copyright headers SPDX-compliantGravatar FearlessTobi2022-07-251-3/+2
|
* network, yuzu: Improve variable naming and style consistencyGravatar FearlessTobi2022-07-251-1/+1
|
* common: multiplayer: Use GameInfo typeGravatar german772022-07-251-19/+16
|
* Address second part of review commentsGravatar FearlessTobi2022-07-251-21/+30
|
* common, core: fix -Wmissing-field-initializersGravatar FearlessTobi2022-07-251-2/+2
|
* yuzu: Add ui files for multiplayer roomsGravatar FearlessTobi2022-07-252-0/+139
|
* yuzu: Add webcam support and rebase to latest masterGravatar Narr the Reg2022-07-231-2/+2
|
* input_common: Add camera driverGravatar german772022-07-232-1/+31
|
* Merge pull request #8545 from Kelebek1/AudioGravatar liamwhite2022-07-236-2/+2447
|\ | | | | Project Andio
| * Project AndioGravatar Kelebek12022-07-226-2/+2447
| |
* | 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
| |