summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2022-11-11Add CPU core count to log filesMatías Locatti
2022-11-10Merge pull request #9198 from liamwhite/arm64bunnei
Initial ARM64 support
2022-11-09Initial ARM64 supportLiam
2022-11-09Add break statement in default casesEnrico Mancuso
According to the contributing page (https://github.com/yuzu-emu/yuzu/wiki/Contributing) the default cases should have a break statement default: // Yes, even break for the last case break;
2022-10-26concepts: Use the std::contiguous_iterator conceptMorph
This also covers std::span, which does not have a const iterator. Also renames IsSTLContainer to IsContiguousContainer to explicitly convey its semantics.
2022-10-25Merge pull request #9107 from german77/gidoly_rulesliamwhite
input_common: cache vibration tests
2022-10-22CMakeLists: Disable C4100 and C4324Morph
Disabling C4100 is similar to -Wno-unused-parameter
2022-10-22CMakeLists: Remove redundant warningsMorph
These warnings are already included in /W3.
2022-10-22CMakeLists: Treat MSVC warnings as errorsMorph
2022-10-22general: Enforce C4800 everywhere except in video_coreMorph
2022-10-22CMakeLists: Remove all redundant warningsMorph
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-21input_common: cache vibration testsgerman77
2022-10-18fixed_point: Mark default constructor as constexprLioncash
Ensures that a fixed-point value is always initialized This likely also fixes several cases of uninitialized values being operated on, since we have multiple areas in the codebase where the default constructor is being used like: Common::FixedPoint<50, 14> current_sample{}; and is then followed up with an arithmetic operation like += or something else, which operates directly on FixedPoint's internal data member, which would previously be uninitialized.
2022-10-18fixed_point: Mark copy/move assignment operators and constructors as constexprLioncash
Given these are just moving a raw value around, these can sensibly be made constexpr to make the interface more useful.
2022-10-18fixed_point: Mark std::swap and move constructor as noexceptLioncash
These shouldn't throw and can influence how some standard algorithms will work.
2022-10-18fixed_point: Mark relevant member function [[nodiscard]]Lioncash
Marks member functions as discard, where ignoring the return value would be indicative of a bug or dead code.
2022-10-18fixed_point: Make to_uint() non-constLioncash
This calls round_up(), which is a non-const member function, so if a fixed-point instantiation ever calls to_uint(), it'll result in a compiler error. This allows the member function to work. While we're at it, we can actually mark to_long_floor() as const, since it's not modifying any member state.
2022-10-18fixed_point: Use defaulted comparisonsLioncash
Collapses all of the comparison functions down to a single line.
2022-10-18fixed_point: Use variable templates and concepts where applicableLioncash
Makes a few things a little less noisy and removes the need for SFINAE in quite a few functions.
2022-10-17Merge pull request #9054 from Docteh/just_lz4bunnei
CMake: Try add_library "lz4" if "lz4::lz4" is unavailable
2022-10-17fixed_point: Replace CONSTEXPR14 with constexprMorph
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
2022-10-17general: Add missing pragma onceMorph
2022-10-13CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailableKyle Kienapfel
Right now this looks like a distro specific problem, but we'll have to see. Over on Gentoo: with lz4 1.9.3 there is a lz4::lz4 library target, with 1.9.4 it's no longer mentioned in the cmake files provided by the package. (/usr/lib64/cmake/lz4) arch and openSUSE have lz4 1.9.4 available so I checked there, they only have .pc files for pkg-config, so asking for "lz4::lz4" works as usual MSVC does require "lz4::lz4" to be asked for
2022-10-13settings: Update aspect_ratio rangeMorph
Since 16:10 was added, the maximum value is now 4.
2022-10-09input_common: have an unique vector in callback statusgerman77
2022-10-06General: address feedbackFernando Sahmkow
2022-10-06general: rework usages of UNREACHABLE macroLiam
2022-10-06address_space: Rename va_start to virt_startMorph
Avoids conflicting with the va_start macro
2022-10-06address_space: Address feedbackMorph
2022-10-06general: Format licenses as per SPDX guidelinesMorph
2022-10-06General: Fix clang format.Fernando Sahmkow
2022-10-06Common: Fix variable shadowing.Fernando Sahmkow
2022-10-06General: Fix compilation for GCCLiam White
2022-10-06DMA & InlineToMemory Engines Rework.bunnei
2022-10-06MemoryManager: initial multi paging system implementation.Fernando Sahmkow
2022-10-06Refactor VideoCore to use AS sepparate from Channel.Fernando Sahmkow
2022-10-06NVDRV: Remake ASGPUFernando Sahmkow
2022-10-06VideoCore: Update MemoryManagerFernando Sahmkow
2022-10-06Common: implement MultiLevelPageTable.Fernando Sahmkow
2022-10-06NVDRV: Refactor and add new NvMap.Fernando Sahmkow
2022-10-03common: remove "yuzu:" prefix from thread namesLiam
2022-10-02service: nfp: address commentsgerman77
2022-10-02input_common: Create virtual amiibo drivergerman77
2022-09-24Merge pull request #8920 from abouvier/cmake-gitbunnei
cmake: fix git detection
2022-09-19yuzu qt: Add option to disable startup Vulkan checklat9nq
The startup check apparently confuses other programs when yuzu launches 2 processes and then quickly closes one of them. Though this isn't really our issues it's also not a big deal for me to add an option to work around that issue.
2022-09-18cmake: fix git detectionAlexandre Bouvier
2022-09-17Merge pull request #8650 from Kelebek1/vsyncbunnei
[Coretiming/NVNFlinger] Improve multi-core vsync timing, and core timing accuracy
2022-09-16Merge pull request #8649 from lat9nq/common-position-independentMorph
common: Use PROJECT_SOURCE_DIR to find CMakeModules
2022-09-16Merge pull request #8682 from lat9nq/dumpyMorph
yuzu qt: Add option to create Windows crash dumps
2022-09-13common: do not link to xbyak on non-amd64 architecturesliushuyu