Lioncash
62d3f2021b
fixed_point: Make to_uint() non-const
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.
3 years ago
Lioncash
801b7a6652
fixed_point: Use defaulted comparisons
Collapses all of the comparison functions down to a single line.
3 years ago
Lioncash
3b07fadfe3
fixed_point: Use variable templates and concepts where applicable
Makes a few things a little less noisy and removes the need for SFINAE
in quite a few functions.
3 years ago
Liam
53625f087b
kernel: fix slab heap ABA
3 years ago
FengChen
584a200d86
video_core: implement 1D copies based on VMM 'kind'
3 years ago
FengChen
2d53a37461
video_core: Implement memory manager page kind
3 years ago
Morph
4b35f9e78e
fixed_point: Replace CONSTEXPR14 with constexpr
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
3 years ago
Morph
6a22ed905b
general: Add missing pragma once
3 years ago
Morph
e3c23433fa
savedata_factory: Detect future save data paths
Enable compatibility for new account/device save paths planned on a future implementation.
3 years ago
FengChen
67007ae698
Address feedback
3 years ago
lat9nq
87b2c9f144
sdl2_sink: Inline variable init into if condition
Co-authored-by: Mai <mathew1800@gmail.com>
3 years ago
lat9nq
8e23f79384
sdl2_sink: Distinguish between capture and non-capture device names
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.
3 years ago
lat9nq
4e968241f6
sdl2_sink: Check for null string when loading SDL audio devices
Attempting to place a null string into a vector of strings causes an
error that closes the application.
Don't.
3 years ago
Morph
14a89390d2
video_core: Fix spelling of "synchronize"
3 years ago
Morph
6becbfbaa3
general: Fix spelling of "unknown"
3 years ago
Kyle Kienapfel
8b6e77774e
fix a tiny spelling mistake
Kreato pointed this out over on discord.
3 years ago
Narr the Reg
34a6ec8d59
audio_core: Revert sink name to sdl2
3 years ago
Kyle Kienapfel
c16b8f5f59
CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailable
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
3 years ago
Morph
6e9ed95246
renderer_(opengl/vulkan): Fix tessellation clockwise parameter
This should be assigned CW only on Triangles_CW rather than not Triangles_CCW, making CCW the default winding order rather than CW.
3 years ago
Morph
98c792dbf4
settings: Update aspect_ratio range
Since 16:10 was added, the maximum value is now 4.
3 years ago
Liam
e11c862ae6
result: enforce reference check specialization
3 years ago
Liam
09777eea76
kernel: remove KWritableEvent
3 years ago
Liam
545875eaa1
k_server_session: preliminary support for userspace server sessions
3 years ago
Liam
a048c5ca0f
Add implementation of svcCreateSession
3 years ago
Liam
fb88548cb1
general: preliminary support for hbl
3 years ago
Liam
aea16faabf
syncpoint_manager: ensure handle is removable before removing
3 years ago
Kelebek1
bc29a3a188
Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong.
3 years ago
Narr the Reg
70825554ec
yuzu: Add 16:10 aspect ratio
3 years ago
german77
36d02d1fc3
input_common: have an unique vector in callback status
3 years ago
Kelebek1
8351d39dd0
Choose the SDL audio backend when Cubeb reports too high of a latency
3 years ago
Liam
d10787b40b
core_timing: use high-precision sleeps on non-Windows targets
3 years ago
Liam
20e5a02da1
kernel: add expanded result macros
3 years ago
Liam
7d3c9d928d
fsp_srv: stub GetCacheStorageSize
3 years ago
Liam
b999db4a0f
IFriendService: stub CheckFriendListAvailability
3 years ago
Liam
21f9dcfd5a
video_core: don't block rendering on screenshots
3 years ago
Morph
5254f0499b
configure_graphics: Fix graphics API selection when a game is running
The graphics API setting should not be changed when a game is running.
3 years ago
Kelebek1
37845e1228
Update 3D regs
3 years ago
Liam
82a159f2c4
nfp_types: silence -Wtype-limits
3 years ago
liamwhite
041976f94e
Revert "vulkan: automatically use larger staging buffer sizes when possible"
3 years ago
Byte
285aedee4f
vulkan_blitter: Fix pool allocation double free.
3 years ago
Liam
13946e7926
maxwell_dma: remove warnings from implemented functionality
3 years ago
Fernando Sahmkow
1595e77913
General: address feedback
3 years ago
Liam
78362ac6dd
state_tracker: workaround channel setup for homebrew
3 years ago
Liam
d8009fb2d1
general: rework usages of UNREACHABLE macro
3 years ago
Morph
5790abef59
nvdisp: End system frame after requesting to swap buffers
Fixes frametime reporting
3 years ago
Morph
6a6b22b67d
address_space: Rename va_start to virt_start
Avoids conflicting with the va_start macro
4 years ago
Morph
f8733d9da6
address_space: Address feedback
4 years ago
Morph
5ee9e5e84b
general: Format licenses as per SPDX guidelines
4 years ago
Fernando Sahmkow
340398daf5
NvHostChannels: improve hack for supporting multiple channels.
4 years ago
Fernando Sahmkow
5cbe6e1739
Address Feedback from bylaws.
4 years ago