summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #9415 from liamwhite/dcGravatar Mai2022-12-113-88/+0
|\ \ | | | | | | memory: correct semantics of data cache management operations
| * | memory: correct semantics of data cache management operationsGravatar Liam2022-12-113-88/+0
| | |
* | | video_core: Integrate SMAAGravatar Liam2022-12-081-1/+2
|/ / | | | | | | | | Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com> Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
* | Merge pull request #9370 from liamwhite/break-unmappedGravatar merry2022-12-061-0/+1
|\ \ | |/ |/| core: add option to break on unmapped access
| * core: add option to break on unmapped accessGravatar Liam2022-12-021-0/+1
| |
* | Merge pull request #6833 from abouvier/unbundleGravatar liamwhite2022-12-051-12/+2
|\ \ | | | | | | cmake: prefer system libraries
| * | cmake: prefer system librariesGravatar Alexandre Bouvier2022-12-041-12/+2
| | |
* | | Merge pull request #9273 from ameerj/per-game-profileGravatar liamwhite2022-12-041-0/+1
|\ \ \ | |/ / |/| | Configuration: Add per-game input profiles
| * | Configuration: Add per-game input profilesGravatar ameerj2022-11-201-0/+1
| | |
* | | Merge pull request #9344 from liamwhite/nullGravatar bunnei2022-12-031-1/+2
|\ \ \ | | | | | | | | video_core: add null backend
| * | | video_core: add null backendGravatar Liam2022-11-281-1/+2
| | | |
* | | | Merge pull request #9300 from ameerj/pchGravatar liamwhite2022-12-034-2/+28
|\ \ \ \ | | | | | | | | | | CMake: Use precompiled headers to improve compile times
| * | | | CMake: Consolidate common PCH headersGravatar ameerj2022-11-303-8/+16
| | | | |
| * | | | string_util: Fix Mingw compile errorGravatar ameerj2022-11-301-2/+2
| | | | | | | | | | | | | | | | | | | | Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com>
| * | | | CMake: Use precompiled headersGravatar ameerj2022-11-292-0/+18
| | |_|/ | |/| |
* | | | Merge pull request #9289 from liamwhite/fruit-companyGravatar liamwhite2022-12-039-4/+865
|\ \ \ \ | |/ / / |/| | | general: fix compile for Apple Clang
| * | | general: fix compile for Apple ClangGravatar Liam2022-11-229-4/+865
| | | |
* | | | Merge pull request #9339 from lioncash/cacheheaderGravatar Morph2022-11-282-4/+3
|\ \ \ \ | | | | | | | | | | common/cache_management: Amend header includes
| * | | | common/cache_management: Amend header includesGravatar Lioncash2022-11-282-4/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | Narrows the include in the header to <cstddef>, since that's what houses size_t's definition, meanwhile the <cstdint> include can be moved into the cpp file.
* | | | common/input: Add helpers functions for creating input and output devicesGravatar Lioncash2022-11-281-0/+34
| | | | | | | | | | | | | | | | | | | | Avoids the redundancy of needing to explictly specify the common namespace and the type.
* | | | common/input: Pass ParamPackage by const reference in CreateDeviceGravatar Lioncash2022-11-281-3/+3
|/ / / | | | | | | | | | | | | This was previously being passed by value, which was unnecessary and created more allocations than necessary.
* | | Merge pull request #9276 from goldenx86/fsrSliderGravatar bunnei2022-11-272-0/+3
|\ \ \ | | | | | | | | FSR Sharpening Slider
| * | | settings: Reset FSR sharpening global state with the othersGravatar lat9nq2022-11-251-0/+1
| | | |
| * | | FSR Sharpening Slider part 1 - only a global sliderGravatar Matías Locatti2022-11-242-0/+2
| |/ /
* | | OopsGravatar Matías Locatti2022-11-261-1/+1
| | |
* | | Replace GLSL as the default OpenGL shader backendGravatar Matías Locatti2022-11-261-1/+1
|/ / | | | | GLASM is not very compatible with the latest games, and too many people have the special superpower to break their Vulkan support.
* | 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