Age | Commit message (Collapse) | Author |
|
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
|
|
general: Add missing pragma once
|
|
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
|
|
|
|
Set TX_TOKEN for transifex client
|
|
general: Fix spelling
|
|
sdl2_sink: Avoid loading a null string into a vector
|
|
I did some tests on my own fork, and we're writing to ~/.transifexrc but
the client can't seem to read that file. maybe issue with $HOME or
something.
Workaround is to set TX_TOKEN environment variable and now the pesky
~/.transifexrc file is not needed.
|
|
Co-authored-by: Mai <mathew1800@gmail.com>
|
|
The function prototype appears to care whether we are loading capture
devices or not, and SDL_GetAudioDeviceName has a parameter to use it,
but for some reason it isn't.
This puts `capture` where it goes.
|
|
Attempting to place a null string into a vector of strings causes an
error that closes the application.
Don't.
|
|
|
|
|
|
New transifex client needs migrating to.
|
|
fix a tiny spelling mistake
|
|
Kreato pointed this out over on discord.
|
|
Currently we're using the python client which uses an API that they
state will sunset Nov 30, 2022.
`tx push -s` actually appears to work properly, some of the other
commands require tweaking, like instead of suggesting `tx pull -a` in
dist/languages we need to suggest `tx pull -t -a`
|
|
kernel: remove KWritableEvent
|
|
Preliminary support for nx-hbloader
|
|
audio_core: Revert sink name to sdl2
|
|
|
|
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
|
|
renderer_(opengl/vulkan): Fix tessellation clockwise parameter
|
|
Auto select the SDL audio backend when Cubeb latency is too high
|
|
IFriendService: stub CheckFriendListAvailability
|
|
result: enforce reference check specialization
|
|
This should be assigned CW only on Triangles_CW rather than not Triangles_CCW, making CCW the default winding order rather than CW.
|
|
settings: Update aspect_ratio range
|
|
Since 16:10 was added, the maximum value is now 4.
|
|
|
|
|
|
kernel: add expanded result macros
|
|
yuzu-emu/revert-8987-another-name-for-reinforcement-steel
Revert "vulkan: automatically use larger staging buffer sizes when possible"
|
|
core_timing: use high-precision sleeps on non-Windows targets
|
|
video_core: don't block rendering on screenshots
|
|
yuzu: Add 16:10 aspect ratio
|
|
syncpoint_manager: ensure handle is removable before removing
|
|
|
|
|
|
|
|
[video_core] Fix stencil mask registers
|
|
|
|
ci/windows: Revert to using GCC for MinGW builds
|