Lioncash
f4d6293427
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
5 years ago
Lioncash
fe19f98dd0
externals: Update dynarmic to allow fmt compilation to succeed
5 years ago
Lioncash
bfb1846419
externals: Update fmt to 8.0.0
Keeps us up to date with the latest major release.
Also allows compilers that support it to perform compile-time format
string checking.
5 years ago
Mai M
6f70ee25ee
Merge pull request #6508 from ReinUsesLisp/bootmanager-stop-token
bootmanager: Use std::stop_source for stopping emulation
5 years ago
Morph
1570db4a56
Merge pull request #6514 from OZtistic/master
Simple resizing of Per-Game configuration window and removal of useless Help question mark button in the title bar
5 years ago
Mai M
d790c559cd
Merge pull request #6512 from ReinUsesLisp/wait-detached-stasks
common/detached_tasks: Wait for tasks before shutting down
5 years ago
Mai M
eb03081a1c
Merge pull request #6509 from ReinUsesLisp/mouse-datarace
input_common/mouse_input: Fix data race
5 years ago
Mai M
65e51665ea
Merge pull request #6510 from ReinUsesLisp/npad-data-race
npad: Fix data race when updating devices
5 years ago
OZtistic
718f92c097
Simple resizing of the Per-Game configuration window and removal of useless Help question mark button in the title bar
5 years ago
bunnei
382d5c114c
Merge pull request #6493 from Morph1984/fs-nodiscard
common: fs: Miscellaneous changes
5 years ago
bunnei
2b8f288319
Merge pull request #6472 from Morph1984/spl
service: spl: Implement general SPL service
5 years ago
bunnei
2b97b0c46c
Merge pull request #6483 from Morph1984/get-tz-file
service: time: Use GetFileRelative to get files within subdirectories
5 years ago
Morph
42e41ca939
common: fs: Add a description of a regular file in IsFile
This provides a more concrete example of what a regular file is and isn't.
5 years ago
Morph
c74b4be699
vfs_real: Fix Mode to FileAccessMode conversion
These enforce requiring the file to exist prior to opening.
5 years ago
Morph
f158fd9dd1
common: fs: Amend IsFile check in FileOpen / (Write/Append)StringToFile
This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode.
This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file.
Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices.
The documentation has also been updated for these functions to clarify that a file refers to a regular file.
5 years ago
Morph
e12844c5a3
common: fs: file: Remove [[nodiscard]] attribute from Flush
Similarly, Flush() is typically called to attempt to flush a file into the disk. In the one case where this is used, we do not care whether the flush has succeeded or not, making [[nodiscard]] unnecessary.
5 years ago
Morph
f81ef990ac
common: fs: Remove [[nodiscard]] attribute on Remove* functions
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal.
As such, removing the [[nodiscard]] attribute is best for these functions.
5 years ago
bunnei
623d9f1730
Merge pull request #6506 from ReinUsesLisp/master-semaphore-jthread
vk_master_semaphore: Use jthread for debug thread
5 years ago
bunnei
7ebde2375c
Merge pull request #6495 from lat9nq/mingw-vista-style
ci: windows: Copy the Qt styles directory when packaging
5 years ago
Mai M
99dcb0d0e1
Merge pull request #6511 from ReinUsesLisp/core-is-powered-data-race
core: Make is_powered_on atomic
5 years ago
Rodrigo Locatti
13edf2e071
core: Make is_powered_on atomic
Fixes potential data races when shutting down.
5 years ago
Rodrigo Locatti
ee29cddce2
common/detached_tasks: Wait for tasks before shutting down
If this is not waited on, the synchronization primitives are destroyed
whe main exits and the detached task ends up signalling garbage and not
properly finishing.
5 years ago
Rodrigo Locatti
c32066d766
npad: Fix data race when updating devices
Add a lock to avoid data races.
This reduces the number of -fsanitize=thread errors significantly.
5 years ago
Rodrigo Locatti
65df2a2ba0
input_common/mouse_input: Fix data race
Fix data race using std::jthread and std::stop_token.
5 years ago
bunnei
abbadc27d8
Merge pull request #6481 from Morph1984/missing-peak-set
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
5 years ago
ReinUsesLisp
2b175430fd
bootmanager: Use std::stop_source for stopping emulation
Use its std::stop_token to abort shader cache loading.
Using std::stop_token instead of std::atomic_bool allows the usage of
other utilities like std::stop_callback.
5 years ago
ReinUsesLisp
6d5036dcf2
vk_master_semaphore: Use jthread for debug thread
5 years ago
bunnei
3fb11c6e77
Merge pull request #6499 from FernandoS27/we-were-on-a-break
Update dynarmic and add new unsafe CPU option.
5 years ago
bunnei
dce9f4452f
Merge pull request #6475 from ameerj/unlimit-fps
nvflinger: Add experimental toggle to disable buffer swap interval limits
5 years ago
Mai M
0e0285a30e
Merge pull request #6486 from CaptV0rt3x/httplib
externals: httplib: replace custom httplib header with upstream as submodule
5 years ago
Fernando Sahmkow
1592ec32bc
Update dynarmic and add new unsafe CPU option.
5 years ago
lat9nq
134a14ed4f
ci: windows: Copy the styles directory when packaging
Qt can make use of qwindowsvistastyle.dll if present, and our MinGW
container has the library, but it was not being copied during the
packaging process. Thus, yuzu looked like a Windows 98 application when
using the PR-verify artifacts.
This copies over the DLL during packaging, for that sweet-sweet Windows
Vista style.
In addition, set the Qt plugins path instead of the plugins/platforms
path. This way we can use the directory directly, rather than appending
a `..` everytime we need something just outside of it.
5 years ago
Morph
ed3e7788a1
Merge pull request #6494 from lat9nq/mingw-fix-fastmem
host_memory: Correct MEM_RESERVE_PLACEHOLDER
5 years ago
lat9nq
bee420dcfb
host_memory: Correct MEM_RESERVE_PLACEHOLDER
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
5 years ago
Vortex
b0965d25b9
externals: httplib: replace custom httplib header with upstream as submodule.
This also includes a minor change to web_service.cpp - to fix compatibility with upstream changes.
5 years ago
Mai M
b7e4156768
Merge pull request #6484 from CaptV0rt3x/discord-rpc
update submodule discord-rpc to latest [now deprecated]
5 years ago
Vortex
425cb74238
update submodule discord-rpc to latest [now deprecated]
5 years ago
Morph
be34265f5e
service: time: Use GetFileRelative to get files within subdirectories
The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
5 years ago
Rodrigo Locatti
aca4a9df06
Merge pull request #6478 from ameerj/vk-layer-settings
vulkan_debug_callback: Skip logging known false-positive validation errors
5 years ago
Morph
3543d65449
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
5 years ago
ameerj
74f5fcbd29
vulkan_debug_callback: Skip logging known false-positive validation errors
Avoids overwhelming the log with validation errors that are not applicable
5 years ago
ameerj
2f2d7a9b02
config: Add frame limiter toggle hotkey
5 years ago
ameerj
72a4091aec
nvflinger: Add toggle to disable buffer swap interval limits
Enabling this setting will allow some titles to present more frames to
the screen as they become available in the nvflinger buffer queue.
5 years ago
bunnei
3e33ea27dc
Merge pull request #6418 from clementgallet/sdl-audio-backend
Audio: SDL2 audio backend
5 years ago
Ameer J
3b8508bf64
Merge pull request #6469 from ReinUsesLisp/blit-view-compat
texture_cache/util: Avoid relaxed image views on different bytes per block
5 years ago
bunnei
ff1e34d198
Merge pull request #6464 from ameerj/disable-astc
textures: Add a toggle for GPU Accelerated ASTC decoder
5 years ago
Morph
9442c70be1
Merge pull request #6460 from Morph1984/fs-access-log-fix
fsp_srv: Fix filesystem access logging
5 years ago
Morph
996d006989
spl: Mark the other functions as unimplemented
5 years ago
Morph
09a98bdc2b
spl: Implement spl::GetConfig
5 years ago
Morph
7588defe84
hle: api_version: Add HLE API version constants
5 years ago