summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9234 from liamwhite/data-cash-moneyGravatar bunnei2022-11-183-0/+89
|\ | | | | kernel: implement data cache management operations
| * common: add cache management functionsGravatar Liam2022-11-123-0/+89
| |
* | Merge pull request #9229 from Docteh/achy_breaky_heartGravatar Morph2022-11-171-0/+1
|\ \ | | | | | | Add break for default cases
| * | Add break for default casesGravatar Kyle Kienapfel2022-11-131-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return
* / Add CPU core count to log filesGravatar Matías Locatti2022-11-112-3/+60
|/
* Merge pull request #9198 from liamwhite/arm64Gravatar bunnei2022-11-102-1/+9
|\ | | | | Initial ARM64 support
| * Initial ARM64 supportGravatar Liam2022-11-092-1/+9
| |
* | Add break statement in default casesGravatar Enrico Mancuso2022-11-091-0/+1
|/ | | | | | | 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;
* concepts: Use the std::contiguous_iterator conceptGravatar Morph2022-10-262-19/+9
| | | | | | This also covers std::span, which does not have a const iterator. Also renames IsSTLContainer to IsContiguousContainer to explicitly convey its semantics.
* Merge pull request #9107 from german77/gidoly_rulesGravatar liamwhite2022-10-251-1/+4
|\ | | | | input_common: cache vibration tests
| * input_common: cache vibration testsGravatar german772022-10-211-1/+4
| |
* | CMakeLists: Disable C4100 and C4324Gravatar Morph2022-10-221-9/+0
| | | | | | | | Disabling C4100 is similar to -Wno-unused-parameter
* | CMakeLists: Remove redundant warningsGravatar Morph2022-10-221-2/+0
| | | | | | | | These warnings are already included in /W3.
* | CMakeLists: Treat MSVC warnings as errorsGravatar Morph2022-10-221-1/+0
| |
* | general: Enforce C4800 everywhere except in video_coreGravatar Morph2022-10-222-4/+17
| |
* | CMakeLists: Remove all redundant warningsGravatar Morph2022-10-221-2/+0
|/ | | | These are already explicitly or implicitly set in src/CMakeLists.txt
* fixed_point: Mark default constructor as constexprGravatar Lioncash2022-10-181-2/+2
| | | | | | | | | | | | | | 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.
* fixed_point: Mark copy/move assignment operators and constructors as constexprGravatar Lioncash2022-10-181-3/+6
| | | | | Given these are just moving a raw value around, these can sensibly be made constexpr to make the interface more useful.
* fixed_point: Mark std::swap and move constructor as noexceptGravatar Lioncash2022-10-181-2/+2
| | | | | These shouldn't throw and can influence how some standard algorithms will work.
* fixed_point: Mark relevant member function [[nodiscard]]Gravatar Lioncash2022-10-181-14/+14
| | | | | Marks member functions as discard, where ignoring the return value would be indicative of a bug or dead code.
* fixed_point: Make to_uint() non-constGravatar Lioncash2022-10-181-2/+2
| | | | | | | | | | | 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.
* fixed_point: Use defaulted comparisonsGravatar Lioncash2022-10-181-23/+1
| | | | Collapses all of the comparison functions down to a single line.
* fixed_point: Use variable templates and concepts where applicableGravatar Lioncash2022-10-182-72/+56
| | | | | Makes a few things a little less noisy and removes the need for SFINAE in quite a few functions.
* Merge pull request #9054 from Docteh/just_lz4Gravatar bunnei2022-10-171-1/+5
|\ | | | | CMake: Try add_library "lz4" if "lz4::lz4" is unavailable
| * CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailableGravatar Kyle Kienapfel2022-10-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | fixed_point: Replace CONSTEXPR14 with constexprGravatar Morph2022-10-171-50/+42
| | | | | | | | As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
* | general: Add missing pragma onceGravatar Morph2022-10-171-4/+1
|/
* settings: Update aspect_ratio rangeGravatar Morph2022-10-131-1/+1
| | | | Since 16:10 was added, the maximum value is now 4.
* input_common: have an unique vector in callback statusGravatar german772022-10-091-2/+3
|
* General: address feedbackGravatar Fernando Sahmkow2022-10-061-4/+4
|
* general: rework usages of UNREACHABLE macroGravatar Liam2022-10-061-15/+16
|
* address_space: Rename va_start to virt_startGravatar Morph2022-10-062-5/+5
| | | | Avoids conflicting with the va_start macro
* address_space: Address feedbackGravatar Morph2022-10-062-191/+233
|
* general: Format licenses as per SPDX guidelinesGravatar Morph2022-10-066-14/+13
|
* General: Fix clang format.Gravatar Fernando Sahmkow2022-10-061-2/+2
|
* Common: Fix variable shadowing.Gravatar Fernando Sahmkow2022-10-061-5/+5
|
* General: Fix compilation for GCCGravatar Liam White2022-10-065-17/+14
|
* DMA & InlineToMemory Engines Rework.Gravatar bunnei2022-10-061-0/+8
|
* MemoryManager: initial multi paging system implementation.Gravatar Fernando Sahmkow2022-10-061-0/+3
|
* Refactor VideoCore to use AS sepparate from Channel.Gravatar Fernando Sahmkow2022-10-061-0/+7
|
* NVDRV: Remake ASGPUGravatar Fernando Sahmkow2022-10-064-0/+485
|
* VideoCore: Update MemoryManagerGravatar Fernando Sahmkow2022-10-062-4/+4
|
* Common: implement MultiLevelPageTable.Gravatar Fernando Sahmkow2022-10-064-0/+171
|
* NVDRV: Refactor and add new NvMap.Gravatar Fernando Sahmkow2022-10-061-5/+8
|
* common: remove "yuzu:" prefix from thread namesGravatar Liam2022-10-031-1/+1
|
* service: nfp: address commentsGravatar german772022-10-021-1/+1
|
* input_common: Create virtual amiibo driverGravatar german772022-10-021-0/+27
|
* Merge pull request #8920 from abouvier/cmake-gitGravatar bunnei2022-09-241-27/+2
|\ | | | | cmake: fix git detection
| * cmake: fix git detectionGravatar Alexandre Bouvier2022-09-181-27/+2
| |
* | yuzu qt: Add option to disable startup Vulkan checkGravatar lat9nq2022-09-191-0/+1
|/ | | | | | | 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.