Age | Commit message (Collapse) | Author |
|
core: add option to break on unmapped access
|
|
cmake: prefer system libraries
|
|
Configuration: Add per-game input profiles
|
|
|
|
video_core: add null backend
|
|
CMake: Use precompiled headers to improve compile times
|
|
general: fix compile for Apple Clang
|
|
|
|
|
|
Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com>
|
|
|
|
|
|
common/cache_management: Amend header includes
|
|
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.
|
|
Avoids the redundancy of needing to explictly specify the common
namespace and the type.
|
|
This was previously being passed by value, which was unnecessary and
created more allocations than necessary.
|
|
FSR Sharpening Slider
|
|
|
|
GLASM is not very compatible with the latest games, and too many people have the special superpower to break their Vulkan support.
|
|
|
|
|
|
|
|
|
|
kernel: implement data cache management operations
|
|
Add break for default cases
|
|
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
|
|
|
|
|
|
Initial ARM64 support
|
|
|
|
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;
|
|
This also covers std::span, which does not have a const iterator.
Also renames IsSTLContainer to IsContiguousContainer to explicitly convey its semantics.
|
|
input_common: cache vibration tests
|
|
Disabling C4100 is similar to -Wno-unused-parameter
|
|
These warnings are already included in /W3.
|
|
|
|
|
|
These are already explicitly or implicitly set in src/CMakeLists.txt
|
|
|
|
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.
|
|
Given these are just moving a raw value around, these can sensibly be
made constexpr to make the interface more useful.
|
|
These shouldn't throw and can influence how some standard algorithms
will work.
|
|
Marks member functions as discard, where ignoring the return value would
be indicative of a bug or dead code.
|
|
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.
|
|
Collapses all of the comparison functions down to a single line.
|
|
Makes a few things a little less noisy and removes the need for SFINAE
in quite a few functions.
|
|
CMake: Try add_library "lz4" if "lz4::lz4" is unavailable
|
|
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
|
|
|
|
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
|